| 51 | std::string binRoot; |
| 52 | |
| 53 | BZ_GET_PLUGIN_VERSION |
| 54 | |
| 55 | BZF_PLUGIN_CALL int bz_Load(const char* commandLine) { |
| 56 | // save off where we are |
| 57 | binRoot = bz_pluginBinPath(); |
| 58 | |
| 59 | if (webAdmin) { |
| 60 | delete(webAdmin); |
| 61 | } |
| 62 | webAdmin = new WebAdmin; |
| 63 | webAdmin->init(commandLine); |
| 64 | |
| 65 | bz_debugMessage(4, "webadmin plugin loaded"); |
| 66 | return 0; |
| 67 | } |
| 68 | |
| 69 | BZF_PLUGIN_CALL int bz_Unload(void) { |
| 70 | if (webAdmin) { |
nothing calls this directly
no test coverage detected