blob: 93c8b9ab5eb0e1499faab8d381dd2be5f87a17b8 (
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
34
35
36
|
#ifndef PERFORM_H
#define PERFORM_H
#include <stdint.h>
#include <list>
#include <string>
#include <map>
typedef std::map<std::string,std::string> VarMap;
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, VarMap *mExtra );
std::string getTarget()
{
return sTarget;
}
void setTarget( std::string sTarget )
{
this->sTarget = sTarget;
}
private:
std::list<std::string> lParam;
std::string sTarget;
};
#endif
|