From 21e7268a503be780b35e367564d711e79a61dffc Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 28 Feb 2015 06:48:33 +0000 Subject: Tox: - added support of tox1 dns resolving - added request/grant items in contact menu - added copy id item in statum menu - code reordering - fixed minor bugs git-svn-id: http://svn.miranda-ng.org/main/trunk@12281 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/common.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols/Tox/src/common.h') diff --git a/protocols/Tox/src/common.h b/protocols/Tox/src/common.h index d450211fe8..d6bdc6e1c4 100644 --- a/protocols/Tox/src/common.h +++ b/protocols/Tox/src/common.h @@ -43,6 +43,8 @@ struct CToxProto; #include "version.h" #include "resource.h" +#include "tox_icons.h" +#include "tox_menus.h" #include "tox_address.h" #include "tox_options.h" #include "tox_transfer.h" @@ -82,10 +84,6 @@ extern HMODULE g_hToxLibrary; template T CreateFunction(LPCSTR functionName) { - if (g_hToxLibrary == NULL) - { - g_hToxLibrary = LoadLibrary(L"libtox.dll"); - } return reinterpret_cast(GetProcAddress(g_hToxLibrary, functionName)); } -- cgit v1.2.3