Merge remote-tracking branch 'gordon-quad/master'
https://github.com/haavard/tox-weechat/pull/11
This commit is contained in:
commit
9928d0b8ed
17 changed files with 515 additions and 285 deletions
|
|
@ -29,12 +29,6 @@ extern const char *twc_tag_unsent_message;
|
|||
extern const char *twc_tag_sent_message;
|
||||
extern const char *twc_tag_received_message;
|
||||
|
||||
enum TWC_MESSAGE_TYPE
|
||||
{
|
||||
TWC_MESSAGE_TYPE_MESSAGE,
|
||||
TWC_MESSAGE_TYPE_ACTION,
|
||||
};
|
||||
|
||||
struct t_twc_chat
|
||||
{
|
||||
struct t_twc_profile *profile;
|
||||
|
|
@ -44,7 +38,7 @@ struct t_twc_chat
|
|||
int32_t group_number;
|
||||
|
||||
struct t_gui_nick_group *nicklist_group;
|
||||
struct t_hashtable *nicks;
|
||||
struct t_weelist *nicks;
|
||||
};
|
||||
|
||||
struct t_twc_chat *
|
||||
|
|
@ -64,11 +58,11 @@ twc_chat_print_message(struct t_twc_chat *chat,
|
|||
const char *color,
|
||||
const char *sender,
|
||||
const char *message,
|
||||
enum TWC_MESSAGE_TYPE message_type);
|
||||
TOX_MESSAGE_TYPE message_type);
|
||||
|
||||
void
|
||||
twc_chat_send_message(struct t_twc_chat *chat, const char *message,
|
||||
enum TWC_MESSAGE_TYPE message_type);
|
||||
TOX_MESSAGE_TYPE message_type);
|
||||
|
||||
void
|
||||
twc_chat_queue_refresh(struct t_twc_chat *chat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue