diff options
author | George Hazan <george.hazan@gmail.com> | 2014-08-18 14:32:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-08-18 14:32:44 +0000 |
commit | 9a10fa95b91ae9e77ba0b0601374fe1abf7782ba (patch) | |
tree | dda025f3b39dd572550a511edf067d2b98946f31 /protocols/JabberG/src/jabber_caps.h | |
parent | 3acd84bf6889f8fe2086eda619a0175d88e05a56 (diff) |
CRITICAL_SECTION removed from Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@10229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.h')
-rw-r--r-- | protocols/JabberG/src/jabber_caps.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/JabberG/src/jabber_caps.h b/protocols/JabberG/src/jabber_caps.h index 54417da858..e734b79bc3 100644 --- a/protocols/JabberG/src/jabber_caps.h +++ b/protocols/JabberG/src/jabber_caps.h @@ -268,7 +268,7 @@ class CJabberClientCapsManager {
protected:
- CRITICAL_SECTION m_cs;
+ mir_cs m_cs;
CJabberClientCaps *m_pClients;
CJabberProto *ppro;
@@ -279,13 +279,6 @@ public: CJabberClientCapsManager(CJabberProto* proto);
~CJabberClientCapsManager();
- __inline void Lock()
- { EnterCriticalSection(&m_cs);
- }
- __inline void Unlock()
- { LeaveCriticalSection(&m_cs);
- }
-
void AddDefaultCaps();
JabberCapsBits GetClientCaps(TCHAR *szNode, TCHAR *szVer);
|