diff options
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);
|