diff options
Diffstat (limited to 'src/perform.h')
-rw-r--r-- | src/perform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/perform.h b/src/perform.h index ea8d5e3..031e007 100644 --- a/src/perform.h +++ b/src/perform.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <map> | 7 | #include <map> |
8 | 8 | ||
9 | typedef std::map<std::string,std::string> VarMap; | 9 | typedef std::map<std::string,std::string> VarMap; |
10 | typedef std::list<std::string> StringList; | ||
10 | 11 | ||
11 | class Build; | 12 | class Build; |
12 | 13 | ||
@@ -17,9 +18,9 @@ public: | |||
17 | virtual ~Perform(); | 18 | virtual ~Perform(); |
18 | 19 | ||
19 | void addParam( const char *sParam ); | 20 | void addParam( const char *sParam ); |
20 | virtual Perform *duplicate( Build &bld, const std::string &cont, VarMap *mExtra ) = 0; | 21 | virtual Perform *duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) = 0; |
21 | virtual void execute( Build &bld ) = 0; | 22 | virtual void execute( Build &bld ) = 0; |
22 | void copyData( Perform *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ); | 23 | void copyData( Perform *pSrc, Build &bld, const StringList *cont, VarMap *mExtra ); |
23 | std::string getTarget() | 24 | std::string getTarget() |
24 | { | 25 | { |
25 | return sTarget; | 26 | return sTarget; |