From 0a1a69241815b1e27051a51fa87f0b2f6fdbf2b4 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 14 Feb 2015 18:23:37 +0000 Subject: first draft of add node dialog git-svn-id: http://svn.miranda-ng.org/main/trunk@12105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'protocols/Tox/src/main.cpp') diff --git a/protocols/Tox/src/main.cpp b/protocols/Tox/src/main.cpp index 00510624a7..d8022cf6ac 100644 --- a/protocols/Tox/src/main.cpp +++ b/protocols/Tox/src/main.cpp @@ -37,6 +37,10 @@ extern "C" int __declspec(dllexport) Load(void) { mir_getLP(&pluginInfo); + HookEvent(ME_OPT_INITIALISE, OptInit); + HookEvent(ME_SYSTEM_PRESHUTDOWN, PreShutdown); + + PROTOCOLDESCRIPTOR pd = { sizeof(pd) }; pd.szName = "TOX"; pd.type = PROTOTYPE_PROTOCOL; -- cgit v1.2.3