summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-17 21:57:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-17 21:57:16 +0000
commit6c4d35fca373a55252f4bce0bd0102f78eb67037 (patch)
tree14041df61249254d4d67a4d0cff411ad59b230e4 /plugins/NewXstatusNotify
parent5ab0462a05c80e52a629255353405d7e5c39e304 (diff)
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
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r--plugins/NewXstatusNotify/src/utils.cpp11
-rw-r--r--plugins/NewXstatusNotify/src/utils.h1
2 files changed, 0 insertions, 12 deletions
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);