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/NewXstatusNotify/src/utils.cpp | 11 ----------- plugins/NewXstatusNotify/src/utils.h | 1 - 2 files changed, 12 deletions(-) (limited to 'plugins/NewXstatusNotify') diff --git a/plugins/NewXstatusNotify/src/utils.cpp b/plugins/NewXstatusNotify/src/utils.cpp index 3e9d0f7f35..fddbc148f1 100644 --- a/plugins/NewXstatusNotify/src/utils.cpp +++ b/plugins/NewXstatusNotify/src/utils.cpp @@ -65,17 +65,6 @@ void ShowLog(TCHAR *file) MessageBox(0, TranslateT("Can't open the log file!"), TranslateT("NewXstatusNotify"), MB_OK | MB_ICONERROR); } -int ProtoServiceExists(const char *szModule, const char *szService) -{ - char str[MAXMODULELABELLENGTH]; - if (szModule == NULL || szService == NULL) - return 0; - - strcpy(str,szModule); - strcat(str,szService); - return ServiceExists(str); -} - BOOL StatusHasAwayMessage(char *szProto, int status) { if (szProto != NULL) { diff --git a/plugins/NewXstatusNotify/src/utils.h b/plugins/NewXstatusNotify/src/utils.h index 0c20662100..384b01c511 100644 --- a/plugins/NewXstatusNotify/src/utils.h +++ b/plugins/NewXstatusNotify/src/utils.h @@ -26,7 +26,6 @@ TCHAR *db2t(DBVARIANT *dbv); int DBGetStringDefault(HANDLE hContact, const char *szModule, const char *szSetting, TCHAR *setting, int size, const TCHAR *defaultValue); void HigherLower(int maxValue, int minValue); void ShowLog(TCHAR *file); -int ProtoServiceExists(const char *szModule, const char *szService); BOOL StatusHasAwayMessage(char *szProto, int status); void LogToFile(TCHAR *stzText); -- cgit v1.2.3