diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index e9652107d4..b93b55c489 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -75,9 +75,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const TCHAR *aUserName) : debugLogA("Setting protocol/module name to '%s'", m_szModuleName);
- // Jabber dialog list
- m_windowList = WindowList_Create();
-
// Protocol services and events...
m_hEventNudge = CreateProtoEvent(PE_NUDGE);
m_hEventXStatusIconChanged = CreateProtoEvent(JE_CUSTOMSTATUS_EXTRAICON_CHANGED);
@@ -162,8 +159,6 @@ CJabberProto::~CJabberProto() delete m_pInfoFrame;
- WindowList_Destroy(m_windowList);
-
DestroyHookableEvent(m_hEventNudge);
DestroyHookableEvent(m_hEventXStatusIconChanged);
DestroyHookableEvent(m_hEventXStatusChanged);
@@ -1305,27 +1300,6 @@ int __cdecl CJabberProto::UserIsTyping(MCONTACT hContact, int type) }
/////////////////////////////////////////////////////////////////////////////////////////
-// Notify dialogs
-
-void CJabberProto::WindowSubscribe(HWND hwnd)
-{
- WindowList_Add(m_windowList, hwnd, NULL);
-}
-
-void CJabberProto::WindowUnsubscribe(HWND hwnd)
-{
- WindowList_Remove(m_windowList, hwnd);
-}
-
-void CJabberProto::WindowNotify(UINT msg, bool async)
-{
- if (async)
- WindowList_BroadcastAsync(m_windowList, msg, 0, 0);
- else
- WindowList_Broadcast(m_windowList, msg, 0, 0);
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// InfoFrame events
void CJabberProto::InfoFrame_OnSetup(CJabberInfoFrame_Event*)
|