aboutsummaryrefslogtreecommitdiff
path: root/src/perform.h
blob: add5a09dfab81af0a0ac5e2ab6da81e73a68a73e (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
27
28
29
30
31
32
33
#ifndef PERFORM_H
#define PERFORM_H

#include <stdint.h>
#include <list>
#include <string>

class Build;

class Perform
{
public:
	Perform();
	virtual ~Perform();

	void addParam( const char *sParam );
	virtual Perform *duplicate( Build &bld, const std::string &cont ) = 0;
	void copyData( Perform *pSrc, Build &bld, const std::string &cont );
	std::string getTarget()
	{
		return sTarget;
	}
	void setTarget( std::string sTarget )
	{
		this->sTarget = sTarget;
	}

private:
	std::list<std::string> lParam;
	std::string sTarget;
};

#endif