00001 #ifndef __COMMANDPARSER_H 00002 #define __COMMANDPARSER_H 00003 00004 #include <string> 00005 using namespace std; 00006 00007 #include "Command.h" 00008 00009 class CommandParser { 00010 public: 00011 CommandParser(CommandProcessor*); 00012 virtual ~CommandParser() {} 00013 virtual Command* parse(string input) = 0; 00014 protected: 00015 CommandProcessor* m_commandProcessor; 00016 }; 00017 00018 #endif 00019