diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-24 18:51:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-24 18:51:51 +0000 |
commit | 2f1b8c756066316c59be907bcd94a73cae5e3a7b (patch) | |
tree | 1c43a7e356602938748aa9f09ebbc7a187ae280b /protocols/JabberG/src/jabber_proto.cpp | |
parent | a3e37eef935765e0a53b1e84d2e3b22f9e475637 (diff) |
UI Utils classes & templates moved to the core, thus allowing any plugin to use them
git-svn-id: http://svn.miranda-ng.org/main/trunk@12492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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*)
|