src/commands/ICommand.h

00001 #ifndef ICOMMAND_H_
00002 #define ICOMMAND_H_
00003 
00004 #include <iostream>
00005 
00006 #include "SDL.h"
00007 
00008 class Server;
00009 
00010 class ICommand
00011 {
00012 public:
00016         ICommand(std::string &params);
00017         
00021         virtual ~ICommand();
00022         
00027         virtual void help() = 0;
00028         
00033         virtual void execute() = 0;
00034         
00035 protected:
00048         std::string getParam(Uint16 param, bool toTheEnd = false);
00049         
00050         std::string myParameters;       
00051 };
00052 
00053 #endif /*ICOMMAND_H_*/

Generated on Mon Dec 3 04:30:12 2007 for lo-testserver by  doxygen 1.3.9.1