diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 18:03:28 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 18:03:28 +0000 |
commit | 51e21a316be6e052251b3dfc7d671061ebd67cee (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/perform.h | |
parent | ad6f4dfcc671d3f8d458c42b0992956f2a2cf979 (diff) | |
download | build-51e21a316be6e052251b3dfc7d671061ebd67cee.tar.gz build-51e21a316be6e052251b3dfc7d671061ebd67cee.tar.bz2 build-51e21a316be6e052251b3dfc7d671061ebd67cee.tar.xz build-51e21a316be6e052251b3dfc7d671061ebd67cee.zip |
Removed the old trunk contents. About to load up m3
Diffstat (limited to 'src/perform.h')
-rw-r--r-- | src/perform.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/perform.h b/src/perform.h deleted file mode 100644 index 031e007..0000000 --- a/src/perform.h +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | #ifndef PERFORM_H | ||
2 | #define PERFORM_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include <list> | ||
6 | #include <string> | ||
7 | #include <map> | ||
8 | |||
9 | typedef std::map<std::string,std::string> VarMap; | ||
10 | typedef std::list<std::string> StringList; | ||
11 | |||
12 | class Build; | ||
13 | |||
14 | class Perform | ||
15 | { | ||
16 | public: | ||
17 | Perform(); | ||
18 | virtual ~Perform(); | ||
19 | |||
20 | void addParam( const char *sParam ); | ||
21 | virtual Perform *duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) = 0; | ||
22 | virtual void execute( Build &bld ) = 0; | ||
23 | void copyData( Perform *pSrc, Build &bld, const StringList *cont, VarMap *mExtra ); | ||
24 | std::string getTarget() | ||
25 | { | ||
26 | return sTarget; | ||
27 | } | ||
28 | void setTarget( std::string sTarget ) | ||
29 | { | ||
30 | this->sTarget = sTarget; | ||
31 | } | ||
32 | |||
33 | std::list<class Function *> &getReqFuncs() | ||
34 | { | ||
35 | return lReqFuncs; | ||
36 | } | ||
37 | |||
38 | void setRule( const std::string &sRule ) | ||
39 | { | ||
40 | this->sRule = sRule; | ||
41 | } | ||
42 | |||
43 | std::string &getRule() | ||
44 | { | ||
45 | return sRule; | ||
46 | } | ||
47 | |||
48 | protected: | ||
49 | std::list<std::string> lParam; | ||
50 | std::string sTarget; | ||
51 | std::string sRule; | ||
52 | std::list<class Function *> lReqFuncs; | ||
53 | }; | ||
54 | |||
55 | #endif | ||