diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-06-04 11:36:59 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-06-04 11:36:59 +0000 |
commit | b3f2dd6e7b0ee526c8272fe8ad48cbeb4f51885a (patch) | |
tree | 1389ceef90ec8882c445edd81ff74feecb5d03f1 /protocols/Steam/src/steam_messages.cpp | |
parent | 852e3bb1fa504e3f52f5a6a7a824ca3002e38b07 (diff) |
Steam: removed unused code
git-svn-id: http://svn.miranda-ng.org/main/trunk@9412 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_messages.cpp')
-rw-r--r-- | protocols/Steam/src/steam_messages.cpp | 46 |
1 files changed, 12 insertions, 34 deletions
diff --git a/protocols/Steam/src/steam_messages.cpp b/protocols/Steam/src/steam_messages.cpp index c6a06672f3..44feb387ad 100644 --- a/protocols/Steam/src/steam_messages.cpp +++ b/protocols/Steam/src/steam_messages.cpp @@ -1,39 +1,17 @@ #include "common.h"
-void CSteamProto::SendMessageThread(void *arg)
-{
- SendMessageParam *param = (SendMessageParam*)arg;
-
- ptrA token(getStringA("TokenSecret"));
- ptrA umqId(getStringA("UMQID"));
- ptrA steamId(getStringA(param->hContact, "SteamID"));
-
- SteamWebApi::MessageApi::SendResult sendResult;
- debugLogA("CSteamProto::SendMessageThread: call SteamWebApi::PollApi::SteamWebApi::MessageApi::SendMessage");
- SteamWebApi::MessageApi::SendMessage(m_hNetlibUser, token, umqId, steamId, param->text, &sendResult);
-
- ProtoBroadcastAck(
- param->hContact,
- ACKTYPE_MESSAGE,
- sendResult.IsSuccess() ? ACKRESULT_SUCCESS : ACKRESULT_FAILED,
- param->hMessage, 0);
-
- mir_free((void*)param->text);
- mir_free(param);
-}
-
-void CSteamProto::SendTypingThread(void *arg)
-{
- MCONTACT hContact = (MCONTACT)arg;
-
- ptrA token(getStringA("TokenSecret"));
- ptrA umqId(getStringA("UMQID"));
- ptrA steamId(getStringA(hContact, "SteamID"));
-
- SteamWebApi::MessageApi::SendResult sendResult;
- debugLogA("CSteamProto::SendTypingThread: call SteamWebApi::PollApi::SteamWebApi::MessageApi::SendMessage");
- SteamWebApi::MessageApi::SendTyping(m_hNetlibUser, token, umqId, steamId, &sendResult);
-}
+//void CSteamProto::SendTypingThread(void *arg)
+//{
+// MCONTACT hContact = (MCONTACT)arg;
+//
+// ptrA token(getStringA("TokenSecret"));
+// ptrA umqId(getStringA("UMQID"));
+// ptrA steamId(getStringA(hContact, "SteamID"));
+//
+// SteamWebApi::MessageApi::SendResult sendResult;
+// debugLogA("CSteamProto::SendTypingThread: call SteamWebApi::PollApi::SteamWebApi::MessageApi::SendMessage");
+// SteamWebApi::MessageApi::SendTyping(m_hNetlibUser, token, umqId, steamId, &sendResult);
+//}
void CSteamProto::OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg)
{
|