diff options
Diffstat (limited to '')
-rw-r--r-- | src/perform.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/perform.cpp b/src/perform.cpp index 4e4a78e..20ad51a 100644 --- a/src/perform.cpp +++ b/src/perform.cpp | |||
@@ -1,4 +1,5 @@ | |||
1 | #include "perform.h" | 1 | #include "perform.h" |
2 | #include "build.h" | ||
2 | 3 | ||
3 | Perform::Perform() | 4 | Perform::Perform() |
4 | { | 5 | { |
@@ -13,3 +14,13 @@ void Perform::addParam( const char *sParam ) | |||
13 | lParam.push_back( sParam ); | 14 | lParam.push_back( sParam ); |
14 | } | 15 | } |
15 | 16 | ||
17 | void Perform::copyData( Perform *pSrc, Build &bld, const std::string &cont ) | ||
18 | { | ||
19 | lParam.clear(); | ||
20 | for( std::list<std::string>::iterator i = pSrc->lParam.begin(); | ||
21 | i != pSrc->lParam.end(); i++ ) | ||
22 | { | ||
23 | lParam.push_back( bld.replVars( *i, cont ) ); | ||
24 | } | ||
25 | } | ||
26 | |||