diff options
author | George Hazan <ghazan@miranda.im> | 2017-04-07 15:32:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-04-07 15:32:08 +0300 |
commit | 978b44865b77eb0029e6033dcbfc0876954cef2e (patch) | |
tree | ccdf74bb1e55640a5dadcd7693928adcf72a17e8 /plugins/Scriver/src/msgs.cpp | |
parent | c46f4344f007d814131d25fa5aec6fdb4c7a049d (diff) |
SRMM events are now created inside the core to avoid problems with dynamic plugin unload
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 3c56bc9a2f..3a977d8c62 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
HCURSOR hDragCursor;
-HANDLE hHookWinPopup, hHookWinWrite;
HGENMENU hMsgMenuItem;
HMODULE hMsftEdit;
@@ -618,9 +617,6 @@ int OnUnloadModule(void) {
DestroyCursor(hDragCursor);
- DestroyHookableEvent(hHookWinPopup);
- DestroyHookableEvent(hHookWinWrite);
-
ReleaseIcons();
FreeMsgLogIcons();
FreeGlobals();
@@ -663,9 +659,6 @@ int OnLoadModule(void) CreateServiceFunction("SRMsg/ReadMessage", ReadMessageCommand);
CreateServiceFunction("SRMsg/TypingMessage", TypingMessageCommand);
- hHookWinPopup = CreateHookableEvent(ME_MSG_WINDOWPOPUP);
- hHookWinWrite = CreateHookableEvent(ME_MSG_PRECREATEEVENT);
-
SkinAddNewSoundEx("RecvMsgActive", LPGEN("Instant messages"), LPGEN("Incoming (focused window)"));
SkinAddNewSoundEx("RecvMsgInactive", LPGEN("Instant messages"), LPGEN("Incoming (unfocused window)"));
SkinAddNewSoundEx("AlertMsg", LPGEN("Instant messages"), LPGEN("Incoming (new session)"));
|