aboutsummaryrefslogtreecommitdiff
path: root/src/perform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/perform.h')
-rw-r--r--src/perform.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/perform.h b/src/perform.h
index 93c8b9a..ea8d5e3 100644
--- a/src/perform.h
+++ b/src/perform.h
@@ -17,7 +17,8 @@ public:
17 virtual ~Perform(); 17 virtual ~Perform();
18 18
19 void addParam( const char *sParam ); 19 void addParam( const char *sParam );
20 virtual Perform *duplicate( Build &bld, const std::string &cont ) = 0; 20 virtual Perform *duplicate( Build &bld, const std::string &cont, VarMap *mExtra ) = 0;
21 virtual void execute( Build &bld ) = 0;
21 void copyData( Perform *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ); 22 void copyData( Perform *pSrc, Build &bld, const std::string &cont, VarMap *mExtra );
22 std::string getTarget() 23 std::string getTarget()
23 { 24 {
@@ -28,9 +29,26 @@ public:
28 this->sTarget = sTarget; 29 this->sTarget = sTarget;
29 } 30 }
30 31
31private: 32 std::list<class Function *> &getReqFuncs()
33 {
34 return lReqFuncs;
35 }
36
37 void setRule( const std::string &sRule )
38 {
39 this->sRule = sRule;
40 }
41
42 std::string &getRule()
43 {
44 return sRule;
45 }
46
47protected:
32 std::list<std::string> lParam; 48 std::list<std::string> lParam;
33 std::string sTarget; 49 std::string sTarget;
50 std::string sRule;
51 std::list<class Function *> lReqFuncs;
34}; 52};
35 53
36#endif 54#endif