diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-07-30 09:07:20 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-30 09:07:20 +0000 |
| commit | 113fc467a7170a8a564049c64d1036dd10e6abac (patch) | |
| tree | e4719817a3e0175a9f7cbd4e07fc994ff41f8ef6 /src/command.cpp | |
| parent | 900976d2d74e0de57858b265c2ef0d17a29e921a (diff) | |
| download | build-113fc467a7170a8a564049c64d1036dd10e6abac.tar.gz build-113fc467a7170a8a564049c64d1036dd10e6abac.tar.bz2 build-113fc467a7170a8a564049c64d1036dd10e6abac.tar.xz build-113fc467a7170a8a564049c64d1036dd10e6abac.zip | |
It's starting to look pretty good, just trying to figure out how to get through
everything that needs to be made modular and general.
Diffstat (limited to 'src/command.cpp')
| -rw-r--r-- | src/command.cpp | 19 |
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 | |||
| 3 | Command::Command( CmdType cmd, const char *sTarget ) : | ||
| 4 | nType( cmd ), | ||
| 5 | sTarget( sTarget ) | ||
| 6 | { | ||
| 7 | } | ||
| 8 | |||
| 9 | Command::~Command() | ||
| 10 | { | ||
| 11 | } | ||
| 12 | |||
| 13 | void Command::debug() | ||
| 14 | { | ||
| 15 | static const char *cmdt[]={"Check", "Clean"}; | ||
| 16 | printf(" command: %s %s\n", cmdt[ nType ], sTarget.getString() ); | ||
| 17 | |||
| 18 | } | ||
| 19 | |||
