summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/sametime_proto.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-11 11:09:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-11 11:09:40 +0000
commite6040d454c758e72333132dc05ee72d910b78bed (patch)
treed8853aafe250599eaf70b3eb262b897862a77346 /protocols/Sametime/src/sametime_proto.h
parent93e2b89909ac060eccb27a3a651ab3efb4911c5c (diff)
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13523 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime/src/sametime_proto.h')
-rw-r--r--protocols/Sametime/src/sametime_proto.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Sametime/src/sametime_proto.h b/protocols/Sametime/src/sametime_proto.h
index 7a68ae3e33..4243f16f61 100644
--- a/protocols/Sametime/src/sametime_proto.h
+++ b/protocols/Sametime/src/sametime_proto.h
@@ -115,8 +115,6 @@ struct CSametimeProto : public PROTO<CSametimeProto>
void DeinitSessionMenu();
int LogIn(int status, HANDLE hNetlibUser);
int LogOut();
- void InitCritSection();
- void DeinitCritSection();
int SetSessionStatus(int status);
void UpdateSelfStatus();
int SetIdle(bool idle);
@@ -153,7 +151,7 @@ struct CSametimeProto : public PROTO<CSametimeProto>
char szProtoGroups[128];
HANDLE mainThread;
- CRITICAL_SECTION session_cs;
+ mir_cs session_cs;
mwSession* session;
int previous_status;
bool is_idle;
@@ -168,7 +166,7 @@ struct CSametimeProto : public PROTO<CSametimeProto>
mwServiceFileTransfer* service_files;
// messaging.cpp
- CRITICAL_SECTION q_cs;
+ mir_cs q_cs;
mwServiceIm* service_im;
ContactMessageQueue contact_message_queue;