From 1b60fdaf9e55690bbfb5a6d8b3f6b970e6d4373f Mon Sep 17 00:00:00 2001 From: Mataes Date: Sun, 23 Dec 2018 20:24:43 +0300 Subject: cleanup --- plugins/AVS/src/main.cpp | 7 +------ plugins/AVS/src/stdafx.h | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'plugins/AVS/src') diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp index 4f3d79647a..1ea2cadc6e 100644 --- a/plugins/AVS/src/main.cpp +++ b/plugins/AVS/src/main.cpp @@ -38,7 +38,7 @@ HANDLE hGlobalAvatarFolder; HANDLE hLoaderEvent, hShutdownEvent; HANDLE hEventChanged, hEventContactAvatarChanged, hMyAvatarChanged; -void InitServices(); +char *g_szMetaName = nullptr; ///////////////////////////////////////////////////////////////////////////////////////// @@ -72,13 +72,8 @@ static int ComparePicture(const protoPicCacheEntry *p1, const protoPicCacheEntry OBJLIST g_ProtoPictures(10, ComparePicture), g_MyAvatars(10, ComparePicture); -char *g_szMetaName = nullptr; - // Stores the id of the dialog -int OnDetailsInit(WPARAM wParam, LPARAM lParam); -int OptInit(WPARAM wParam, LPARAM lParam); - static int ProtocolAck(WPARAM, LPARAM lParam) { ACKDATA *ack = (ACKDATA*)lParam; diff --git a/plugins/AVS/src/stdafx.h b/plugins/AVS/src/stdafx.h index 21385e074e..351699a865 100644 --- a/plugins/AVS/src/stdafx.h +++ b/plugins/AVS/src/stdafx.h @@ -180,3 +180,7 @@ void Proto_GetAvatarMaxSize(const char *proto, int *width, int *height); int Proto_GetAvatarMaxFileSize(const char *proto); protoPicCacheEntry* GetProtoDefaultAvatar(MCONTACT hContact); + +int OnDetailsInit(WPARAM wParam, LPARAM lParam); +int OptInit(WPARAM wParam, LPARAM lParam); +void InitServices(); -- cgit v1.2.3