diff options
Diffstat (limited to '')
-rw-r--r-- | src/action.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/action.h b/src/action.h new file mode 100644 index 0000000..520f2f1 --- /dev/null +++ b/src/action.h | |||
@@ -0,0 +1,26 @@ | |||
1 | #ifndef ACTION_H | ||
2 | #define ACTION_H | ||
3 | |||
4 | #include <bu/fstring.h> | ||
5 | |||
6 | class Action | ||
7 | { | ||
8 | public: | ||
9 | Action( const class AstBranch *pRoot ); | ||
10 | virtual ~Action(); | ||
11 | |||
12 | const Bu::FString &getName() const; | ||
13 | |||
14 | void call( class Runner *pRunner ); | ||
15 | |||
16 | static Action *genDefaultAll(); | ||
17 | static Action *genDefaultClean(); | ||
18 | static Action *genDefaultDefault(); | ||
19 | |||
20 | private: | ||
21 | Bu::FString sName; | ||
22 | const class AstBranch *pRoot; | ||
23 | class Ast *pAst; | ||
24 | }; | ||
25 | |||
26 | #endif | ||