diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-22 21:14:05 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-22 21:14:05 +0000 |
commit | 4ffd0909f7990643a0253849d46a750bd9f3233b (patch) | |
tree | a0a004674fcd9ad0600f7c1ae5728bea499f9db0 /protocols/Tox/src/tox_accounts.cpp | |
parent | 0e8ffa6f388f28411decbcc6fe6c834029830714 (diff) |
Tox: some code for group chats
git-svn-id: http://svn.miranda-ng.org/main/trunk@12241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_accounts.cpp')
-rw-r--r-- | protocols/Tox/src/tox_accounts.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_accounts.cpp b/protocols/Tox/src/tox_accounts.cpp index 2e18334a4c..c2d84e9515 100644 --- a/protocols/Tox/src/tox_accounts.cpp +++ b/protocols/Tox/src/tox_accounts.cpp @@ -28,6 +28,8 @@ int CToxProto::OnAccountLoaded(WPARAM, LPARAM) HookProtoEvent(ME_USERINFO_INITIALISE, &CToxProto::OnUserInfoInit);
HookProtoEvent(ME_MSG_PRECREATEEVENT, &CToxProto::OnPreCreateMessage);
+ InitGroupChatModule();
+
return 0;
}
@@ -41,4 +43,14 @@ int CToxProto::OnAccountRenamed(WPARAM, LPARAM) accountName = mir_tstrdup(m_tszUserName);
return 0;
+}
+
+INT_PTR CToxProto::OnAccountManagerInit(WPARAM, LPARAM lParam)
+{
+ return (INT_PTR)CreateDialogParam(
+ g_hInstance,
+ MAKEINTRESOURCE(IDD_ACCOUNT_MANAGER),
+ (HWND)lParam,
+ CToxProto::MainOptionsProc,
+ (LPARAM)this);
}
\ No newline at end of file |