1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#pragma once #include "cli/propertylist.h" #include <string> #include <vector> namespace modules { struct IModule { virtual std::wstring name() = 0; virtual std::wstring description() = 0; virtual PropertyList commands() = 0; virtual void handleRequest(const std::vector<std::wstring> &request) = 0; }; }