summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-28 18:08:32 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-28 18:08:32 +0000
commit900cb3561405d385c70fc57c94e46bc1e4fa178b (patch)
tree3f77c180f15589b7911ac4b3ea52eba8c8ab8e03 /protocols/Tox/src/tox_proto.h
parent3a124f929481fbb59c5cb49618fc19c01cd63833 (diff)
Tox: actions support (messages started with '/me')
git-svn-id: http://svn.miranda-ng.org/main/trunk@10334 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index addeec0037..c910317abb 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -103,14 +103,16 @@ private:
int __cdecl OnContactDeleted(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 __cdecl OnOptionsInit(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnSettingsChanged(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnAccountListChanged(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnPreCreateMessage(WPARAM wParam, LPARAM lParam);
INT_PTR __cdecl OnAccountManagerInit(WPARAM, LPARAM);
static void OnFriendRequest(Tox *tox, const uint8_t *address, const uint8_t *message, const uint16_t messageSize, void *arg);
static void OnFriendMessage(Tox *tox, const int number, const uint8_t *message, const uint16_t messageSize, void *arg);
+ static void OnFriendAction(Tox *tox, const int number, const uint8_t *action, const uint16_t actionSize, void *arg);
static void OnTypingChanged(Tox *tox, const int number, uint8_t isTyping, void *arg);
static void OnFriendNameChange(Tox *tox, const int number, const uint8_t *name, const uint16_t nameSize, void *arg);
static void OnStatusMessageChanged(Tox *tox, const int number, const uint8_t* message, const uint16_t messageSize, void *arg);