From 70c13e5c4475aedd296c51e68070e85096eb4f39 Mon Sep 17 00:00:00 2001 From: aunsane Date: Thu, 21 Dec 2017 16:08:58 +0300 Subject: Tox: improved profile encription management --- protocols/Tox/src/tox_proto.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'protocols/Tox/src/tox_proto.h') diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index 8e88d7bca1..24896724d7 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -3,8 +3,9 @@ struct CToxProto : public PROTO { - friend CToxChangePasswordDlg; friend CToxEnterPasswordDlg; + friend CToxCreatePasswordDlg; + friend CToxChangePasswordDlg; friend CToxOptionsMain; friend CToxOptionsNodeList; @@ -63,9 +64,10 @@ public: static INT_PTR ParseToxUri(WPARAM, LPARAM lParam); private: - CToxThread *toxThread; - mir_cs profileLock; - ptrW wszAccountName, wszGroup; + CToxThread *m_toxThread; + mir_cs m_profileLock; + ptrW m_accountName; + ptrW m_defaultGroup; CTransferList transfers; ULONG hMessageProcess; @@ -87,7 +89,9 @@ private: int OnDeleteToxProfile(); INT_PTR __cdecl OnCopyToxID(WPARAM, LPARAM); + INT_PTR __cdecl OnCreatePassword(WPARAM, LPARAM); INT_PTR __cdecl OnChangePassword(WPARAM, LPARAM); + INT_PTR __cdecl OnRemovePassword(WPARAM, LPARAM); // tox core Tox_Options* GetToxOptions(); -- cgit v1.2.3