drogon/drogon_ctl/CommandHandler.h

13 lines
299 B
C++
Executable File

#pragma once
#include <drogon/DrObject.h>
#include <vector>
#include <string>
class CommandHandler:public virtual drogon::DrObjectBase {
public:
virtual void handleCommand(std::vector<std::string> &parameters)=0;
virtual std::string script(){return "";}
virtual ~CommandHandler(){}
};