#ifndef COMMAND_H #define COMMAND_H #include #include using std::string; using std::vector; class Command { const string name; static unsigned int numCom; int (*funcCommand)(const vector*); void checkObj(); public: Command(const string& n, int (*funcptr)(const vector* args)); Command(const Command&); ~Command(); int execute(const vector*); string getName(); }; class CommandNameNotValidException{}; #endif // COMMAND_H