From 70fa6d15aa408ce82131d9e6c8eb4cc384f8e846 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 10 Aug 2014 19:07:29 +0000 Subject: Tox: - fixed account manager page - added account options page - removed test code git-svn-id: http://svn.miranda-ng.org/main/trunk@10147 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_proto.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 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 3ebd7fe88b..502928419b 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -90,6 +90,10 @@ private: void __cdecl PollingThread(void*); //events + int OnModulesLoaded(WPARAM, LPARAM); + INT_PTR __cdecl OnAccountManagerInit(WPARAM, LPARAM); + static int __cdecl OnOptionsInit(void *obj, WPARAM wParam, LPARAM lParam); + static void OnFriendRequest(Tox *tox, const uint8_t *userId, const uint8_t *message, const uint16_t messageSize, void *arg); static void OnFriendMessage(Tox *tox, const int friendId, const uint8_t *message, const uint16_t messageSize, void *arg); static void OnFriendNameChange(Tox *tox, const int friendId, const uint8_t *name, const uint16_t nameSize, void *arg); @@ -106,7 +110,8 @@ private: void __cdecl SearchByUidAsync(void* arg); //services - INT_PTR __cdecl CreateAccMgrUI(WPARAM, LPARAM); + + // utils TOX_USERSTATUS MirandaToToxStatus(int status); @@ -120,7 +125,7 @@ private: static void get_id(Tox *m, char *data); // dialogs - static INT_PTR CALLBACK AccountManagerProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); + static INT_PTR CALLBACK MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); }; #endif //_TOX_PROTO_H_ \ No newline at end of file -- cgit v1.2.3