summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-10 19:07:29 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-10 19:07:29 +0000
commit70fa6d15aa408ce82131d9e6c8eb4cc384f8e846 (patch)
treeab1eae8139b8a2bfd37cc7ddb007c3f6892aa26c /protocols/Tox/src/tox_proto.h
parent7e5ea8ede78268b68b86f3f6d279deaf24593fb2 (diff)
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
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h9
1 files changed, 7 insertions, 2 deletions
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