summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-28 08:21:09 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-28 08:21:09 +0300
commit5e65ecbf7c7e008ac23adc0f29bc000f7fd27019 (patch)
tree480f2c5510c8aef3b5a25325378f3035ea0099a4 /protocols/JabberG/src/jabber_proto.cpp
parent351c13a90dd7d95e15e6b15632ec5c255398abd3 (diff)
protocols: jabber: xep-0198
- moved implementation to separated units (refactoring) - first part (without resumption) should work now (still have some bugs), feel free to test
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 6a125f7ffc..84310548fe 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -71,10 +71,7 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
m_hPrivacyMenuItems(10),
m_lstJabberFeatCapPairsDynamic(2),
m_uEnabledFeatCapsDynamic(0),
- m_bStrmMgmtPendingEnable(false),
- m_bStrmMgmtEnabled(false),
- m_bStrmMgmtResumeSupported(false),
- m_sStrmMgmtResumeId(nullptr),
+ m_StrmMgmt(this),
m_bBsDirect(this, "BsDirect", TRUE),
m_bAllowVersionRequests(this, "m_bAllowVersionRequests", TRUE),
@@ -258,8 +255,6 @@ CJabberProto::~CJabberProto()
delete it;
}
- if (m_sStrmMgmtResumeId)
- mir_free(m_sStrmMgmtResumeId);
}
////////////////////////////////////////////////////////////////////////////////////////
@@ -1349,9 +1344,3 @@ int __cdecl CJabberProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARA
}
return 1;
}
-
-
-void CJabberProto::m_nStrmMgmtLocalSCount_incr()
-{
- m_nStrmMgmtLocalSCount++;
-} \ No newline at end of file