Added ui events module

This commit is contained in:
James Booth
2015-04-28 23:53:37 +01:00
parent 8aba52f4fe
commit d3698e6bee
6 changed files with 92 additions and 16 deletions

View File

@@ -83,17 +83,4 @@ cl_ev_send_priv_msg(const char * const fulljid, const char * const msg)
{
message_send_private(fulljid, msg);
ui_outgoing_private_msg(fulljid, msg);
}
void
ui_ev_focus_win(ProfWin *win)
{
ui_switch_win(win);
}
void
ui_ev_new_chat_win(const char * const barejid)
{
ProfWin *win = ui_new_chat_win(barejid);
ui_switch_win(win);
}