From 22b35cdc0d13336366efe44b57d682d5be6bae52 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 27 Sep 2014 10:19:26 +0000 Subject: Tox: - password field temporary disables - some changes git-svn-id: http://svn.miranda-ng.org/main/trunk@10613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_proto.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 182bc4bb3f..13ca949b93 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -124,6 +124,8 @@ private: void __cdecl PollingThread(void*); // tox profile + std::tstring GetToxProfilePath(); + static INT_PTR CALLBACK ToxProfileManagerProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); // accounts @@ -140,7 +142,6 @@ private: bool IsOnline(); int __cdecl OnAccountLoaded(WPARAM, LPARAM); - // events int __cdecl OnPreShutdown(WPARAM, LPARAM); int __cdecl OnSettingsChanged(WPARAM wParam, LPARAM lParam); @@ -198,7 +199,7 @@ private: static void OnFileData(Tox *tox, int32_t number, uint8_t fileNumber, const uint8_t *data, uint16_t length, void *arg); // avatars - std::tstring GetContactAvatarFilePath(MCONTACT hContact); + std::tstring GetAvatarFilePath(MCONTACT hContact = NULL); bool SetToxAvatar(std::tstring path, bool checkHash = false); INT_PTR __cdecl GetAvatarCaps(WPARAM wParam, LPARAM lParam); @@ -225,7 +226,7 @@ private: static bool IsFileExists(std::tstring path); - std::tstring GetToxProfilePath(); + void LoadToxData(); void SaveToxData(); -- cgit v1.2.3