aboutsummaryrefslogtreecommitdiff
path: root/src/perform.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-08 19:45:14 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-08 19:45:14 +0000
commitb6d1a440d3885480e6f2e2209434e633689a4bf6 (patch)
treeb859be4f3cd8c31733e252083389b14cb5748d1c /src/perform.cpp
parent71cc260a3ca6d3d0594fd4cadb0711ae3f142932 (diff)
downloadbuild-b6d1a440d3885480e6f2e2209434e633689a4bf6.tar.gz
build-b6d1a440d3885480e6f2e2209434e633689a4bf6.tar.bz2
build-b6d1a440d3885480e6f2e2209434e633689a4bf6.tar.xz
build-b6d1a440d3885480e6f2e2209434e633689a4bf6.zip
Getting steaddily closer.
Diffstat (limited to 'src/perform.cpp')
-rw-r--r--src/perform.cpp11
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
3Perform::Perform() 4Perform::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
17void 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