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.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/command.h (limited to 'src/command.h') 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 @@ +#ifndef COMMAND_H +#define COMMAND_H + +#include +#include "staticstring.h" + +class Command +{ +public: + enum CmdType + { + cmdCheck = 0, + cmdClean + }; + +public: + Command( CmdType cmd, const char *sTarget ); + virtual ~Command(); + + CmdType getType() + { + return nType; + } + + const char *getTarget() + { + return sTarget; + } + + void debug(); + +private: + CmdType nType; + StaticString sTarget; + +}; + +#endif -- cgit v1.2.3