From f1f8a71bd4df7f239e28a9625b82ee02428c3f3f Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 3 Jan 2015 08:12:27 +0000 Subject: Tox: work commit - removed *.lib and lib generator - disabled profile encryption and import - loading tox profile on connection - project reordering - http proxy support git-svn-id: http://svn.miranda-ng.org/main/trunk@11730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/api_groupchats.cpp | 88 ++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 protocols/Tox/src/api_groupchats.cpp (limited to 'protocols/Tox/src/api_groupchats.cpp') diff --git a/protocols/Tox/src/api_groupchats.cpp b/protocols/Tox/src/api_groupchats.cpp new file mode 100644 index 0000000000..8f49b8f421 --- /dev/null +++ b/protocols/Tox/src/api_groupchats.cpp @@ -0,0 +1,88 @@ +#include "common.h" + +/* GROUP CHAT FUNCTIONS: WARNING Group chats will be rewritten so this might change */ +/* +void tox_callback_group_invite(Tox *tox, void(*function)(Tox *tox, int32_t, uint8_t, const uint8_t *, uint16_t, void *), void *userdata) +{ +} + +void tox_callback_group_message(Tox *tox, void(*function)(Tox *tox, int, int, const uint8_t *, uint16_t, void *), void *userdata) +{ +} + +void tox_callback_group_action(Tox *tox, void(*function)(Tox *tox, int, int, const uint8_t *, uint16_t, void *), void *userdata) +{ +} + +void tox_callback_group_title(Tox *tox, void(*function)(Tox *tox, int, int, const uint8_t *, uint8_t, void *), void *userdata) +{ +} + +void tox_callback_group_namelist_change(Tox *tox, void(*function)(Tox *tox, int, int, uint8_t, void *), void *userdata) +{ +} + +int tox_add_groupchat(Tox *tox) +{ +} + +int tox_del_groupchat(Tox *tox, int groupnumber) +{ +} + +int tox_group_peername(const Tox *tox, int groupnumber, int peernumber, uint8_t *name) +{ +} + +int tox_group_peer_pubkey(const Tox *tox, int groupnumber, int peernumber, uint8_t *pk) +{ +} + +int tox_invite_friend(Tox *tox, int32_t friendnumber, int groupnumber) +{ +} + +int tox_join_groupchat(Tox *tox, int32_t friendnumber, const uint8_t *data, uint16_t length) +{ +} + +int tox_group_message_send(Tox *tox, int groupnumber, const uint8_t *message, uint16_t length) +{ +} + +int tox_group_action_send(Tox *tox, int groupnumber, const uint8_t *action, uint16_t length) +{ +} + +int tox_group_set_title(Tox *tox, int groupnumber, const uint8_t *title, uint8_t length) +{ +} + +int tox_group_get_title(Tox *tox, int groupnumber, uint8_t *title, uint32_t max_length) +{ +} + +unsigned int tox_group_peernumber_is_ours(const Tox *tox, int groupnumber, int peernumber) +{ +} + +int tox_group_number_peers(const Tox *tox, int groupnumber) +{ +} + +int tox_group_get_names(const Tox *tox, int groupnumber, uint8_t names[][TOX_MAX_NAME_LENGTH], uint16_t lengths[], uint16_t length) +{ +} + +uint32_t tox_count_chatlist(const Tox *tox) +{ +} + +uint32_t tox_get_chatlist(const Tox *tox, int32_t *out_list, uint32_t list_size) +{ +} + +int tox_group_get_type(const Tox *tox, int groupnumber) +{ +} +*/ \ No newline at end of file -- cgit v1.2.3