| 476 | } |
| 477 | |
| 478 | bool Plugin::reload(color_ostream &out) |
| 479 | { |
| 480 | if(state != PS_LOADED) |
| 481 | return false; |
| 482 | if(!unload(out)) |
| 483 | return false; |
| 484 | if(!load(out)) |
| 485 | return false; |
| 486 | return true; |
| 487 | } |
| 488 | |
| 489 | command_result Plugin::invoke(color_ostream &out, const std::string & command, std::vector <std::string> & parameters) |
| 490 | { |