mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Remove unneeded response
This commit is contained in:
parent
9c56f74662
commit
bc5f8ad775
2 changed files with 3 additions and 4 deletions
|
@ -24,8 +24,7 @@ LauncherManager::~LauncherManager() {
|
|||
void LauncherManager::init() {
|
||||
initLog();
|
||||
addToLog(_T("Getting most recent build"));
|
||||
CString response;
|
||||
getMostRecentBuild(_latestApplicationURL, _latestVersion, response);
|
||||
getMostRecentBuild(_latestApplicationURL, _latestVersion);
|
||||
}
|
||||
|
||||
BOOL LauncherManager::initLog() {
|
||||
|
@ -360,7 +359,7 @@ LauncherUtils::ResponseError LauncherManager::readOrganizationJSON(const CString
|
|||
return LauncherUtils::ResponseError::ParsingJSON;
|
||||
}
|
||||
|
||||
void LauncherManager::getMostRecentBuild(CString& urlOut, CString& versionOut, CString& response) {
|
||||
void LauncherManager::getMostRecentBuild(CString& urlOut, CString& versionOut) {
|
||||
CString contentTypeJson = L"content-type:application/json";
|
||||
std::function<void(CString, int)> httpCallback = [&](CString response, int err) {
|
||||
LauncherUtils::ResponseError error = LauncherUtils::ResponseError(err);
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
BOOL isApplicationInstalled(CString& version, CString& domain,
|
||||
CString& content, bool& loggedIn);
|
||||
LauncherUtils::ResponseError getAccessTokenForCredentials(const CString& username, const CString& password);
|
||||
void getMostRecentBuild(CString& urlOut, CString& versionOut, CString& response);
|
||||
void getMostRecentBuild(CString& urlOut, CString& versionOut);
|
||||
LauncherUtils::ResponseError readOrganizationJSON(const CString& hash);
|
||||
LauncherUtils::ResponseError readConfigJSON(CString& version, CString& domain,
|
||||
CString& content, bool& loggedIn);
|
||||
|
|
Loading…
Reference in a new issue