| 77 | } |
| 78 | |
| 79 | bool |
| 80 | Instance::DeletePlugin(const cripts::string &tag) |
| 81 | { |
| 82 | auto p = plugins.find(tag); |
| 83 | |
| 84 | if (p != plugins.end()) { |
| 85 | plugins.erase(p); |
| 86 | |
| 87 | return true; |
| 88 | } else { |
| 89 | return false; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | void |
| 94 | Instance::AddBundle(cripts::Bundle::Base *bundle) |