diff options
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();
|