diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-09-27 10:19:26 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-09-27 10:19:26 +0000 |
commit | 22b35cdc0d13336366efe44b57d682d5be6bae52 (patch) | |
tree | dc4fb01f13f4b11391c2c1c704d10b4ecc9c66b8 /protocols/Tox/src/tox_proto.h | |
parent | 93467b8c3702be5fc9f9b60c3ff6863cb37ccd8d (diff) |
Tox:
- password field temporary disables
- some changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 7 |
1 files changed, 4 insertions, 3 deletions
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();
|