| 23 | } |
| 24 | |
| 25 | extern "C" __declspec(dllexport) void GetData(char* name, char* description, char* updateurl) |
| 26 | { |
| 27 | std::stringstream ss_desc; |
| 28 | ss_desc << "Injects " << MODULE << " (" << BUILD_STR << ") into the Broodwar process.\r\n\r\n" |
| 29 | << "Version " << BWAPI_VER << " for Starcraft " << STARCRAFT_VER << ".\r\n" |
| 30 | << "Check for updates at " << BWAPI_HOME_URL << " \r\n\r\n" |
| 31 | << "Created by the BWAPI Project Team."; |
| 32 | |
| 33 | strcpy(name, GetPluginName().substr(0, 64).c_str()); |
| 34 | strcpy(description, ss_desc.str().substr(0, 512).c_str()); |
| 35 | strcpy(updateurl, ""); |
| 36 | } |
| 37 | |
| 38 | // Functions called by BWLauncher |
| 39 | // |
nothing calls this directly
no test coverage detected