summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-05 19:25:49 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-05 19:25:49 +0000
commit4895fb61e1e1538ca039fcf803f2829cdf3371c2 (patch)
tree4c80edeefb95df3aeeb58c060ae5a88d8388ea15 /protocols/Tox/src/tox_events.cpp
parentd770f3eb807b9b1c9f844a005179f93893183133 (diff)
Tox: more correct way to register folders
git-svn-id: http://svn.miranda-ng.org/main/trunk@12332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index 87c688c593..fb1ce6ba43 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -1,5 +1,12 @@
#include "common.h"
+int CToxProto::OnModulesLoaded(WPARAM, LPARAM)
+{
+ hProfileFolderPath = FoldersRegisterCustomPathT("Tox", Translate("Profiles folder"), MIRANDA_USERDATAT);
+
+ return 0;
+}
+
int CToxProto::OnContactDeleted(MCONTACT hContact, LPARAM)
{
if (!IsOnline())