From 113fc467a7170a8a564049c64d1036dd10e6abac Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 30 Jul 2006 09:07:20 +0000 Subject: 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. --- src/command.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/command.cpp (limited to 'src/command.cpp') 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 @@ +#include "command.h" + +Command::Command( CmdType cmd, const char *sTarget ) : + nType( cmd ), + sTarget( sTarget ) +{ +} + +Command::~Command() +{ +} + +void Command::debug() +{ + static const char *cmdt[]={"Check", "Clean"}; + printf(" command: %s %s\n", cmdt[ nType ], sTarget.getString() ); + +} + -- cgit v1.2.3