From 56c24779dc455536c35866a65b25e4d729074b9d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Apr 2016 13:31:02 +0000 Subject: MS_CLUI_CONTACTRENAMED - totally unused service removed git-svn-id: http://svn.miranda-ng.org/main/trunk@16595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_clui.h | 9 --------- src/mir_app/src/cluiservices.cpp | 7 ------- 2 files changed, 16 deletions(-) diff --git a/include/m_clui.h b/include/m_clui.h index 560bd2ee9c..c3b713f487 100644 --- a/include/m_clui.h +++ b/include/m_clui.h @@ -67,15 +67,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //iconid is an offset in the image list. see clist/geticonsimagelist #define MS_CLUI_CONTACTADDED "CLUI/ContactAdded" -//rename a contact in the list -//wParam = (MCONTACT)hContact -//lParam = 0 -//returns 0 on success, nonzero on failure -//you should not re-sort the list on this call. A separate resort request will -//be sent -//you get the new name from clist/getcontactdisplayname -#define MS_CLUI_CONTACTRENAMED "CLUI/ContactRenamed" - //start a rebuild of the contact list //wParam = lParam = 0 //returns 0 on success, nonzero on failure diff --git a/src/mir_app/src/cluiservices.cpp b/src/mir_app/src/cluiservices.cpp index 3dc94a47e8..a7b481887b 100644 --- a/src/mir_app/src/cluiservices.cpp +++ b/src/mir_app/src/cluiservices.cpp @@ -97,12 +97,6 @@ static INT_PTR ListEndRebuild(WPARAM, LPARAM) return 0; } -static INT_PTR ContactRenamed(WPARAM, LPARAM) -{ - //unnecessary: CLC does this automatically - return 0; -} - static INT_PTR GetCaps(WPARAM wParam, LPARAM) { switch (wParam) { @@ -120,7 +114,6 @@ void LoadCluiServices(void) CreateServiceFunction(MS_CLUI_CONTACTSETICON, ContactSetIcon); CreateServiceFunction(MS_CLUI_CONTACTADDED, ContactAdded); CreateServiceFunction(MS_CLUI_CONTACTDELETED, ContactDeleted); - CreateServiceFunction(MS_CLUI_CONTACTRENAMED, ContactRenamed); CreateServiceFunction(MS_CLUI_LISTBEGINREBUILD, ListBeginRebuild); CreateServiceFunction(MS_CLUI_LISTENDREBUILD, ListEndRebuild); CreateServiceFunction(MS_CLUI_GETCAPS, GetCaps); -- cgit v1.2.3