diff options
Diffstat (limited to 'src/command.h')
-rw-r--r-- | src/command.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/command.h b/src/command.h deleted file mode 100644 index 495c749..0000000 --- a/src/command.h +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | #ifndef COMMAND_H | ||
2 | #define COMMAND_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include "staticstring.h" | ||
6 | |||
7 | class Builder; | ||
8 | |||
9 | class Command | ||
10 | { | ||
11 | public: | ||
12 | enum CmdType | ||
13 | { | ||
14 | cmdCheck = 0, | ||
15 | cmdClean | ||
16 | }; | ||
17 | |||
18 | public: | ||
19 | Command( CmdType cmd, const char *sTarget ); | ||
20 | virtual ~Command(); | ||
21 | |||
22 | CmdType getType() | ||
23 | { | ||
24 | return nType; | ||
25 | } | ||
26 | |||
27 | const char *getTarget() | ||
28 | { | ||
29 | return sTarget; | ||
30 | } | ||
31 | |||
32 | void debug(); | ||
33 | |||
34 | void execute( class Builder &bld ); | ||
35 | |||
36 | private: | ||
37 | CmdType nType; | ||
38 | StaticString sTarget; | ||
39 | |||
40 | }; | ||
41 | |||
42 | #endif | ||