From bd8a04455d9c991c15df2287e091abe4ba054efb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 25 Nov 2012 12:54:45 +0000 Subject: typed stub for MS_PROTO_GETCONTACTBASEPROTO git-svn-id: http://svn.miranda-ng.org/main/trunk@2480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/extraicons/DefaultExtraIcons.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/extraicons/DefaultExtraIcons.cpp') diff --git a/src/modules/extraicons/DefaultExtraIcons.cpp b/src/modules/extraicons/DefaultExtraIcons.cpp index 5f848af03f..5e865c7609 100644 --- a/src/modules/extraicons/DefaultExtraIcons.cpp +++ b/src/modules/extraicons/DefaultExtraIcons.cpp @@ -64,7 +64,7 @@ static void SetVisibility(HANDLE hContact, int apparentMode, bool clear) if (hContact == NULL) return; - char *proto = (char*) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0); + char *proto = GetContactProto(hContact); if ( IsEmpty(proto)) return; @@ -101,7 +101,7 @@ static void SetGender(HANDLE hContact, int gender, bool clear) if (hContact == NULL) return; - char *proto = (char*) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0); + char *proto = GetContactProto(hContact); if ( IsEmpty(proto)) return; @@ -172,7 +172,7 @@ static void SetExtraIcons(HANDLE hContact) if (hContact == NULL) return; - char *proto = (char*) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0); + char *proto = GetContactProto(hContact); if ( IsEmpty(proto)) return; @@ -204,7 +204,7 @@ static int SettingChanged(WPARAM wParam, LPARAM lParam) if (hContact == NULL) return 0; - char *proto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0); + char *proto = GetContactProto(hContact); if ( IsEmpty(proto)) return 0; @@ -252,7 +252,7 @@ static int DefaultOnClick(WPARAM wParam, LPARAM lParam, LPARAM param) if (hContact == NULL) return 0; - char *proto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0); + char *proto = GetContactProto(hContact); if ( IsEmpty(proto)) return 0; @@ -347,7 +347,7 @@ static int ProtocolApplyIcon(WPARAM wParam, LPARAM lParam) { HANDLE hContact = (HANDLE)wParam; - char *proto = (char*) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0); + char *proto = GetContactProto(hContact); if ( IsEmpty(proto)) return 0; -- cgit v1.2.3