FIXME: handle name collisions...
| 1033 | |
| 1034 | // FIXME: handle name collisions... |
| 1035 | command_result PluginManager::InvokeCommand(color_ostream &out, const std::string & command, std::vector <std::string> & parameters) |
| 1036 | { |
| 1037 | Plugin *plugin = getPluginByCommand(command); |
| 1038 | return plugin ? plugin->invoke(out, command, parameters) : CR_NOT_IMPLEMENTED; |
| 1039 | } |
| 1040 | |
| 1041 | bool PluginManager::CanInvokeHotkey(const std::string &command, df::viewscreen *top) |
| 1042 | { |