diff options
author | Mataes <mataes2007@gmail.com> | 2018-12-23 20:24:43 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-12-23 20:25:16 +0300 |
commit | 1b60fdaf9e55690bbfb5a6d8b3f6b970e6d4373f (patch) | |
tree | 23759c22a20590f2184ebda78260abe335e6de99 /plugins/AVS/src | |
parent | ff6b8261d89a2ac071bba0ebe0e16b40dd7122a1 (diff) |
cleanup
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r-- | plugins/AVS/src/main.cpp | 7 | ||||
-rw-r--r-- | plugins/AVS/src/stdafx.h | 4 |
2 files changed, 5 insertions, 6 deletions
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<protoPicCacheEntry> 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();
|