Initial repository 1.0.0

This commit is contained in:
Brad Arant committed 2019-02-07 13:28:21 -08:00
commit d8b1275884
1861 files changed
+66342

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
#ifndef __CommandList_h__
#define __CommandList_h__
#include "Session.h"
#include "Command.h"
namespace core {
class CommandList : public Command {
public:
CommandList();
~CommandList();
void add(Command &command, std::string name = "");
void remove(Command &command);
bool processRequest(std::string request, Session *session);
int processCommand(std::string request, Session *session) override;
private:
std::vector<Command *> commands;
};
}
#endif