Implemented more things.

This commit is contained in:
Håvard Pettersson 2014-09-02 20:15:08 +02:00
parent b65e289d91
commit 926b6951f6
4 changed files with 242 additions and 29 deletions

View file

@ -17,13 +17,21 @@ struct t_tox_chat
};
struct t_tox_chat *tox_weechat_get_friend_chat(int32_t friend_number);
struct t_tox_chat *tox_weechat_get_existing_friend_chat(int32_t friend_number);
struct t_tox_chat *tox_weechat_get_chat_for_buffer(struct t_gui_buffer *target_buffer);
struct t_tox_chat *tox_weechat_get_first_chat();
void tox_weechat_chat_print_message(struct t_tox_chat *chat,
const char *sender,
const char *message);
void tox_weechat_chat_print_action(struct t_tox_chat *chat,
const char *sender,
const char *message);
void tox_weechat_chat_print_name_change(struct t_tox_chat *chat,
const char *old_name,
const char *new_name);
void tox_weechat_chat_refresh(struct t_tox_chat *chat);
#endif // TOX_WEECHAT_CHATS_H