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