aboutsummaryrefslogtreecommitdiff
path: root/src/perform.cpp
blob: 20ad51af6c66bc18eb11a3245bd5e309d3ba40ba (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 )
{
	lParam.clear();
	for( std::list<std::string>::iterator i = pSrc->lParam.begin();
		 i != pSrc->lParam.end(); i++ )
	{
		lParam.push_back( bld.replVars( *i, cont ) );
	}
}