From ab8132461435e134601c4bc58ba5e964c1f8a66f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Sep 2013 22:11:32 +0000 Subject: unused service removed (MS_VARS_GETCONTACTFROMSTRING) git-svn-id: http://svn.miranda-ng.org/main/trunk@6082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/contact.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'plugins/Variables/src/contact.cpp') diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index 0c5619c548..be07a9d47a 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -85,7 +85,6 @@ static int cacheSize = 0; static CRITICAL_SECTION csContactCache; static HANDLE hContactSettingChangedHook; -static HANDLE hGetContactFromStringService; /* converts a string into a CNF_ type @@ -395,22 +394,15 @@ static int contactSettingChanged(WPARAM wParam, LPARAM lParam) return 0; } -static INT_PTR getContactFromStringSvc( WPARAM wParam, LPARAM lParam) -{ - return getContactFromString(( CONTACTSINFO* )wParam ); -} - int initContactModule() { InitializeCriticalSection(&csContactCache); hContactSettingChangedHook = HookEvent(ME_DB_CONTACT_SETTINGCHANGED, contactSettingChanged); - hGetContactFromStringService = CreateServiceFunction(MS_VARS_GETCONTACTFROMSTRING, getContactFromStringSvc); return 0; } int deinitContactModule() { - DestroyServiceFunction(hGetContactFromStringService); UnhookEvent(hContactSettingChangedHook); DeleteCriticalSection(&csContactCache); return 0; -- cgit v1.2.3