#ifndef COMMANDS_H #define COMMANDS_H #include #include #include #include "cmds.h" using std::string; using std::vector; class Commands { vector commands; static bool created; Commands(Commands&); public: Commands(); void add(Command*); size_t howMany(); int launch(const vector* args); }; class CommandsAlreadyCreatedException{}; class CommandNotFoundException{}; #endif // COMMANDS_H