MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / bz_Load

Function bz_Load

plugins/webReport/webReport.cpp:54–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52WebReport* webReport = NULL;
53
54BZ_GET_PLUGIN_VERSION
55
56BZF_PLUGIN_CALL int bz_Load(const char* commandLine) {
57 if (webReport) {
58 delete(webReport);
59 }
60 webReport = new WebReport;
61
62 if (commandLine && strlen(commandLine)) {
63 webReport->init(commandLine);
64 }
65 else {
66 webReport->init("./");
67 }
68
69 bz_debugMessage(4, "webReport plugin loaded");
70
71 return 0;
72}
73
74BZF_PLUGIN_CALL int bz_Unload(void) {
75 if (webReport) {

Callers

nothing calls this directly

Calls 2

bz_debugMessageFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected