1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include <string> #include <vector> namespace commands { struct ICommand { virtual std::wstring name() = 0; virtual std::wstring description() = 0; virtual void handleRequest(const std::vector<std::wstring> &arguments) = 0; }; }