Renamed event functions
This commit is contained in:
@@ -43,14 +43,14 @@
|
||||
#endif
|
||||
|
||||
jabber_conn_status_t
|
||||
client_connect_jid(const char * const jid, const char * const passwd, const char * const altdomain, const int port)
|
||||
cl_ev_connect_jid(const char * const jid, const char * const passwd, const char * const altdomain, const int port)
|
||||
{
|
||||
cons_show("Connecting as %s", jid);
|
||||
return jabber_connect_with_details(jid, passwd, altdomain, port);
|
||||
}
|
||||
|
||||
jabber_conn_status_t
|
||||
client_connect_account(ProfAccount *account)
|
||||
cl_ev_connect_account(ProfAccount *account)
|
||||
{
|
||||
char *jid = account_create_full_jid(account);
|
||||
cons_show("Connecting with account %s as %s", account->name, jid);
|
||||
@@ -60,7 +60,7 @@ client_connect_account(ProfAccount *account)
|
||||
}
|
||||
|
||||
void
|
||||
client_send_msg(const char * const barejid, const char * const msg)
|
||||
cl_ev_send_msg(const char * const barejid, const char * const msg)
|
||||
{
|
||||
#ifdef HAVE_LIBOTR
|
||||
otr_on_message_send(barejid, msg);
|
||||
@@ -73,26 +73,26 @@ client_send_msg(const char * const barejid, const char * const msg)
|
||||
}
|
||||
|
||||
void
|
||||
client_send_muc_msg(const char * const roomjid, const char * const msg)
|
||||
cl_ev_send_muc_msg(const char * const roomjid, const char * const msg)
|
||||
{
|
||||
message_send_groupchat(roomjid, msg);
|
||||
}
|
||||
|
||||
void
|
||||
client_send_priv_msg(const char * const fulljid, const char * const msg)
|
||||
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
|
||||
client_focus_win(ProfWin *win)
|
||||
ui_ev_focus_win(ProfWin *win)
|
||||
{
|
||||
ui_switch_win(win);
|
||||
}
|
||||
|
||||
void
|
||||
client_new_chat_win(const char * const barejid)
|
||||
ui_ev_new_chat_win(const char * const barejid)
|
||||
{
|
||||
ProfWin *win = ui_new_chat_win(barejid);
|
||||
ui_switch_win(win);
|
||||
|
||||
Reference in New Issue
Block a user