13 lines
299 B
C++
Executable File
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> ¶meters)=0;
|
|
virtual std::string script(){return "";}
|
|
virtual ~CommandHandler(){}
|
|
}; |