The method struct. This allows an easy way to add and manage commands for Table::handleCommand().
Table::handleCommand()
Header (method.h)
#ifndef METHOD #define METHOD #include <string> #include <vector> #define METHOD_ARGS const std::vector<std::string> & struct Method { std::string name; void (*method)(METHOD_ARGS); unsigned int argc; std::string info; void (*help)(); }; #endif
V 2.2.0
There was an error while loading. Please reload this page.