aboutsummaryrefslogtreecommitdiff
path: root/src/perform.cpp
blob: 64e6bab516d8eb5269ebb321930619852d5eb2b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "perform.h"
#include "build.h"

Perform::Perform()
{
}

Perform::~Perform()
{
}

void Perform::addParam( const char *sParam )
{
	lParam.push_back( sParam );
}

void Perform::copyData( Perform *pSrc, Build &bld, const std::string &cont, VarMap *mExtra )
{
	lParam.clear();
	for( std::list<std::string>::iterator i = pSrc->lParam.begin();
		 i != pSrc->lParam.end(); i++ )
	{
		lParam.push_back( bld.replVars( *i, cont, mExtra ) );
	}
}