summaryrefslogtreecommitdiff
path: root/plugins/AVS
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/AVS
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/AVS')
-rw-r--r--plugins/AVS/src/main.cpp13
-rw-r--r--plugins/AVS/src/options.cpp1
2 files changed, 0 insertions, 14 deletions
diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp
index a0ee6d8b63..3f03247a9a 100644
--- a/plugins/AVS/src/main.cpp
+++ b/plugins/AVS/src/main.cpp
@@ -107,19 +107,8 @@ extern INT_PTR CALLBACK DlgProcAvatarOptions(HWND hwndDlg, UINT msg, WPARAM wPar
extern INT_PTR CALLBACK DlgProcAvatarUserInfo(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
extern INT_PTR CALLBACK DlgProcAvatarProtoInfo(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
-
static int SetProtoMyAvatar(char *protocol, HBITMAP hBmp, TCHAR *originalFilename, int format, BOOL square, BOOL grow);
-// See if a protocol service exists
-int ProtoServiceExists(const char *szModule,const char *szService)
-{
- char str[MAXMODULELABELLENGTH * 2];
- strcpy(str,szModule);
- strcat(str,szService);
- return ServiceExists(str);
-}
-
-
/*
* output a notification message.
* may accept a hContact to include the contacts nickname in the notification message...
@@ -2467,8 +2456,6 @@ return = 1 (supported) or 0 (not supported)
*/
#define PS_ISAVATARFORMATSUPPORTED "/IsAvatarFormatSupported"
-
-
BOOL Proto_IsAvatarsEnabled(const char *proto)
{
if (ProtoServiceExists(proto, PS_GETAVATARCAPS))
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp
index f151f8c370..3120f43d60 100644
--- a/plugins/AVS/src/options.cpp
+++ b/plugins/AVS/src/options.cpp
@@ -43,7 +43,6 @@ extern void DeleteAvatarFromCache(HANDLE, BOOL);
extern HBITMAP LoadPNG(struct avatarCacheEntry *ace, char *szFilename);
extern HANDLE GetContactThatHaveTheAvatar(HANDLE hContact, int locked = -1);
-extern int ProtoServiceExists(const char *szModule,const char *szService);
extern BOOL Proto_IsAvatarsEnabled(const char *proto);
extern BOOL ScreenToClient(HWND hWnd, LPRECT lpRect);