aboutsummaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp
new file mode 100644
index 0000000..4a1fa6c
--- /dev/null
+++ b/src/command.cpp
@@ -0,0 +1,19 @@
1#include "command.h"
2
3Command::Command( CmdType cmd, const char *sTarget ) :
4 nType( cmd ),
5 sTarget( sTarget )
6{
7}
8
9Command::~Command()
10{
11}
12
13void Command::debug()
14{
15 static const char *cmdt[]={"Check", "Clean"};
16 printf(" command: %s %s\n", cmdt[ nType ], sTarget.getString() );
17
18}
19