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/TipperYM/src/subst.cpp | 8 -------- plugins/TipperYM/src/subst.h | 1 - 2 files changed, 9 deletions(-) (limited to 'plugins/TipperYM') diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp index 9740dbd1d2..e4bcb782cd 100644 --- a/plugins/TipperYM/src/subst.cpp +++ b/plugins/TipperYM/src/subst.cpp @@ -20,14 +20,6 @@ Boston, MA 02111-1307, USA. #include "common.h" -int ProtoServiceExists(const char *szModule, const char *szService) -{ - char str[MAXMODULELABELLENGTH]; - strcpy(str,szModule); - strcat(str,szService); - return ServiceExists(str); -} - bool DBGetContactSettingAsString(HANDLE hContact, const char *szModuleName, const char *szSettingName, TCHAR *buff, int bufflen) { DBVARIANT dbv; diff --git a/plugins/TipperYM/src/subst.h b/plugins/TipperYM/src/subst.h index fdc0b73320..d8cbf39d45 100644 --- a/plugins/TipperYM/src/subst.h +++ b/plugins/TipperYM/src/subst.h @@ -25,7 +25,6 @@ bool GetLabelText(HANDLE hContact, const DISPLAYITEM &di, TCHAR *buff, int iBuff bool GetValueText(HANDLE hContact, const DISPLAYITEM &di, TCHAR *buff, int iBufflen); void StripBBCodesInPlace(TCHAR *text); -int ProtoServiceExists(const char *szModule, const char *szService); // can be used with hContact == 0 to get uid for a given proto bool UidName(char *szProto, TCHAR *buff, int bufflen); -- cgit v1.2.3