| 46 | // This has to be in the .hpp file, otherwise we will not get the correct debug tag! |
| 47 | Instance(int argc, const char *argv[], bool remap = true) { _initialize(argc, argv, __BASE_FILE__, remap); } |
| 48 | ~Instance() |
| 49 | { |
| 50 | plugins.clear(); |
| 51 | |
| 52 | for (auto &bundle : bundles) { |
| 53 | delete bundle; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | bool AddPlugin(const cripts::string &tag, const cripts::string &plugin, const Plugin::Options &options); |
| 58 | bool DeletePlugin(const cripts::string &tag); |