summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_pooling.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-26 19:15:20 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-26 19:15:20 +0000
commitab75f8e4a3968c956425844415237a4fa6fcee63 (patch)
treedf2c209dd0197dc3085546606b0581d63f9114ad /protocols/Steam/src/steam_pooling.cpp
parent4e9e885747b2037c81ce809f7f6505f8bc8b0e2f (diff)
Steam: merge new api
git-svn-id: http://svn.miranda-ng.org/main/trunk@13850 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_pooling.cpp')
-rw-r--r--protocols/Steam/src/steam_pooling.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp
index 4ea31428e8..89768c1a81 100644
--- a/protocols/Steam/src/steam_pooling.cpp
+++ b/protocols/Steam/src/steam_pooling.cpp
@@ -127,10 +127,10 @@ void CSteamProto::ParsePollData(JSONNODE *data)
ptrA token(getStringA("TokenSecret"));
PushRequest(
- new SteamWebApi::GetUserSummariesRequest(token, steamId),
+ new GetUserSummariesRequest(token, steamId),
&CSteamProto::OnAuthRequested,
mir_strdup(steamId),
- ARG_MIR_FREE);
+ MirFreeArg);
}
break;
@@ -157,7 +157,7 @@ void CSteamProto::ParsePollData(JSONNODE *data)
ptrA token(getStringA("TokenSecret"));
PushRequest(
- new SteamWebApi::GetUserSummariesRequest(token, steamIds.c_str()),
+ new GetUserSummariesRequest(token, steamIds.c_str()),
&CSteamProto::OnGotUserSummaries);
}
}
@@ -170,12 +170,12 @@ void CSteamProto::PollingThread(void*)
ptrA umqId(getStringA("UMQID"));
UINT32 messageId = getDword("MessageID", 0);
- //SteamWebApi::PollApi::PollResult pollResult;
+ //PollApi::PollResult pollResult;
int errors = 0;
bool breaked = false;
while (!isTerminated && !breaked && errors < POLLING_ERRORS_LIMIT)
{
- SteamWebApi::PollRequest *request = new SteamWebApi::PollRequest(token, umqId, messageId, IdleSeconds());
+ PollRequest *request = new PollRequest(token, umqId, messageId, IdleSeconds());
//request->nlc = m_pollingConnection;
NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser);
delete request;