summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/common.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-28 06:48:33 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-28 06:48:33 +0000
commit21e7268a503be780b35e367564d711e79a61dffc (patch)
tree87b408e722116a6faea0d029d090e6278cda0f28 /protocols/Tox/src/common.h
parent4410284da77786594d7009b6c515176de0d5a51e (diff)
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
Diffstat (limited to 'protocols/Tox/src/common.h')
-rw-r--r--protocols/Tox/src/common.h6
1 files changed, 2 insertions, 4 deletions
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<typename T>
T CreateFunction(LPCSTR functionName)
{
- if (g_hToxLibrary == NULL)
- {
- g_hToxLibrary = LoadLibrary(L"libtox.dll");
- }
return reinterpret_cast<T>(GetProcAddress(g_hToxLibrary, functionName));
}