From 5e65ecbf7c7e008ac23adc0f29bc000f7fd27019 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 28 Mar 2018 08:21:09 +0300 Subject: 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 --- protocols/JabberG/src/jabber_proto.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'protocols/JabberG/src/jabber_proto.cpp') 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 -- cgit v1.2.3