aboutsummaryrefslogtreecommitdiff
path: root/src/perform.cpp
blob: 25d54c7e8f97521ae73ddda3dd0b59aa91ce74a7 (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 StringList *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 ) );
	}
}