diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-13 17:54:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-13 17:54:12 +0300 |
commit | ccd1d2cf194034faa91ee353e544a9337d3fa993 (patch) | |
tree | 8721417a5d7217a0b71200a5f142507c5b3f0983 /include | |
parent | fee3a74e7429552ebbfe7ae9c14a4f6c25156fb6 (diff) |
Jabber:
- Miranda to generate globally unique packet ids;
- unused member IJabberInterface::AddTemporaryIqHandler removed;
- two rarely used params removed from CJabberProto::AddIQ && CJabberIqManager::AddHandler
- code cleaning
Diffstat (limited to 'include')
-rw-r--r-- | include/m_jabber.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/m_jabber.h b/include/m_jabber.h index fdb865ec6b..c2e91e9833 100644 --- a/include/m_jabber.h +++ b/include/m_jabber.h @@ -129,10 +129,6 @@ struct IJabberInterface // Registers incoming <iq/> handler. iIqTypes is a combination of JABBER_IQ_TYPE_* flags. Returns handler handle on success or NULL on error.
virtual HJHANDLER STDMETHODCALLTYPE AddIqHandler(JABBER_HANDLER_FUNC Func, int iIqTypes, LPCSTR szXmlns, LPCSTR szTag, void *pUserData = nullptr, int iPriority = JH_PRIORITY_DEFAULT) = 0;
- // Registers temporary handler for incoming <iq/> stanza of type iIqType with id iIqId. iIqTypes is a combination of JABBER_IQ_TYPE_* flags. Returns handler handle on success or NULL on error.
- // If dwTimeout milliseconds pass and no Iq stanza with the specified iIqId is received, Jabber plugin will call Func() with NULL node.
- virtual HJHANDLER STDMETHODCALLTYPE AddTemporaryIqHandler(JABBER_HANDLER_FUNC Func, int iIqTypes, int iIqId, void *pUserData = nullptr, DWORD dwTimeout = 30000, int iPriority = JH_PRIORITY_DEFAULT) = 0;
-
// Registers handler for outgoing nodes. Returns handler handle on success or NULL on error.
// Return FALSE in the handler to continue, or TRUE to abort sending.
virtual HJHANDLER STDMETHODCALLTYPE AddSendHandler(JABBER_HANDLER_FUNC Func, void *pUserData = nullptr, int iPriority = JH_PRIORITY_DEFAULT) = 0;
|