diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-08-21 20:25:28 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-08-21 20:25:28 +0000 |
commit | 3c9026fef3ebe0e80855b51351b5c1bad05d9f0d (patch) | |
tree | 2cd27952146fff32c2e43f1ebd57c790c355dcbd /protocols/Tox/src/tox_proto.h | |
parent | 518a4b2226ca1904a39dca7a77a5afaa8984c011 (diff) |
Tox:
- fixed own nick changing
- reworked search/add dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@10268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index 83f4ef026c..243b4625af 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -99,12 +99,13 @@ private: //events
int __cdecl OnAccountLoaded(WPARAM, LPARAM);
int __cdecl OnContactDeleted(MCONTACT, LPARAM);
- int __cdecl OnSettingsChanged(MCONTACT, LPARAM);
int __cdecl OnPreShutdown(WPARAM, LPARAM);
+
+ static int __cdecl OnOptionsInit(void *obj, WPARAM wParam, LPARAM lParam);
+ static int __cdecl OnSettingsChanged(void *obj, WPARAM wParam, LPARAM lParam);
+ static int __cdecl OnAccountListChanged(void *obj, WPARAM wParam, LPARAM lParam);
INT_PTR __cdecl OnAccountManagerInit(WPARAM, LPARAM);
- static int __cdecl OnAccountListChanged(void *obj, WPARAM wParam, LPARAM 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 friendnumber, const uint8_t *message, const uint16_t messageSize, void *arg);
@@ -153,6 +154,7 @@ private: void SaveToxData();
// dialogs
+ static INT_PTR CALLBACK SearchDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK ToxProfileManagerProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
};
|