summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_avatar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-29 18:59:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-29 18:59:47 +0000
commit544a8969d32748541de6973f805f16ba21156507 (patch)
treed0d3b80eb80358dbd4a2f1fc48b85e986973a260 /protocols/MSN/src/msn_avatar.cpp
parent136628cf7ac5148ebdd8c8ecd25757c594d1bca8 (diff)
MSN HTTP avatars, part II
git-svn-id: http://svn.miranda-ng.org/main/trunk@3342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_avatar.cpp')
-rw-r--r--protocols/MSN/src/msn_avatar.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_avatar.cpp b/protocols/MSN/src/msn_avatar.cpp
index 2734b2a8a4..b1ed8b1690 100644
--- a/protocols/MSN/src/msn_avatar.cpp
+++ b/protocols/MSN/src/msn_avatar.cpp
@@ -19,6 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "msn_global.h"
#include "msn_proto.h"
+void CMsnProto::AvatarQueue_Init()
+{
+ ::InitializeCriticalSection(&csAvatarQueue);
+}
+
+void CMsnProto::AvatarQueue_Uninit()
+{
+ ::DeleteCriticalSection(&csAvatarQueue);
+}
+
void CMsnProto::pushAvatarRequest(HANDLE hContact, LPCSTR pszUrl)
{
SendBroadcast(hContact, ACKTYPE_AVATAR, ACKRESULT_STATUS, NULL, 0);