diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-09 18:05:49 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-09 18:05:49 +0000 |
commit | f2bc6761680a9f7fca23eb68331570b734aa682f (patch) | |
tree | f2b582a6e2c364232b713fe9db754d977b15b342 /plugins/MessageState/src/messagestate.cpp | |
parent | 08572c6065ebb0f3d0fb05c5abd291b083883a54 (diff) |
MessageState: Cleanup.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MessageState/src/messagestate.cpp')
-rw-r--r-- | plugins/MessageState/src/messagestate.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp index d1c6a240c6..34380e4678 100644 --- a/plugins/MessageState/src/messagestate.cpp +++ b/plugins/MessageState/src/messagestate.cpp @@ -1,7 +1,5 @@ #include "stdafx.h"
-HANDLE hDummyService;
-
LONGLONG GetLastSentMessageTime(MCONTACT hContact)
{
for (MEVENT hDbEvent = db_event_last(hContact); hDbEvent; hDbEvent = db_event_prev(hContact, hDbEvent))
@@ -144,12 +142,6 @@ int OnSrmmWindowEvent(WPARAM, LPARAM lParam) INT_PTR DummyService(WPARAM, LPARAM){ return 0; }
-void UnInitModule()
-{
- if (hDummyService)
- DestroyServiceFunction(hDummyService);
-}
-
int OnModulesLoaded(WPARAM, LPARAM)
{
HookEvent(ME_MSG_WINDOWEVENT, OnSrmmWindowEvent);
@@ -157,8 +149,6 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_PROTO_ACK, OnProtoAck);
HookEvent(ME_DB_EVENT_FILTER_ADD, OnEventFilterAdd);
- hDummyService = CreateServiceFunction(MODULENAME "/DummyService", DummyService);
-
// IcoLib support
for (size_t i = 0; i < SIZEOF(Icons); i++)
Icon_Register(g_hInst, MODULENAME, &Icons[i], 1);
|