From 6c4d35fca373a55252f4bce0bd0102f78eb67037 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 17 Jun 2013 21:57:16 +0000 Subject: ProtoServiceExists moved to mir_core all another copies of it removed git-svn-id: http://svn.miranda-ng.org/main/trunk@5006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/src/commons.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/MyDetails/src/commons.h') diff --git a/plugins/MyDetails/src/commons.h b/plugins/MyDetails/src/commons.h index 0b841a2206..1a968b3327 100644 --- a/plugins/MyDetails/src/commons.h +++ b/plugins/MyDetails/src/commons.h @@ -73,15 +73,6 @@ extern bool g_bFramesExist; #define PS_GETMYAVATARMAXSIZE "/GetMyAvatarMaxSize" #define PS_GETMYNICKNAMEMAXLENGTH "/GetMyNicknameMaxLength" -// See if a protocol service exists -__inline static int ProtoServiceExists(const char *szModule,const char *szService) -{ - char str[MAXMODULELABELLENGTH]; - strcpy(str,szModule); - strcat(str,szService); - return ServiceExists(str); -} - // Helper static __inline int DRAW_TEXT(HDC hDC, LPCTSTR lpString, int nCount, LPRECT lpRect, UINT uFormat, const char *protocol) { -- cgit v1.2.3