msh-console/commandexecutor.h

16 lines
341 B
C
Raw Normal View History

#ifndef COMMANDEXECUTOR_H
#define COMMANDEXECUTOR_H
#include <vector>
#include <string>
class CommandExecutor
{
public:
virtual int executeCmd(std::vector<std::string>* args) = 0;
virtual int executeCmd(const std::string& args) = 0;
virtual size_t howManyCmds() const = 0;
CommandExecutor();
};
#endif // COMMANDEXECUTOR_H