mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 14:16:22 +00:00
Added ui_ev_new_private_win to ui events
This commit is contained in:
@@ -82,8 +82,8 @@ cl_ev_send_muc_msg(ProfMucWin *mucwin, const char * const msg)
|
||||
}
|
||||
|
||||
void
|
||||
cl_ev_send_priv_msg(const char * const fulljid, const char * const msg)
|
||||
cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char * const msg)
|
||||
{
|
||||
message_send_private(fulljid, msg);
|
||||
ui_outgoing_private_msg(fulljid, msg);
|
||||
message_send_private(privwin->fulljid, msg);
|
||||
ui_outgoing_private_msg(privwin, msg);
|
||||
}
|
||||
@@ -40,6 +40,6 @@ jabber_conn_status_t cl_ev_connect_account(ProfAccount *account);
|
||||
|
||||
void cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg);
|
||||
void cl_ev_send_muc_msg(ProfMucWin *mucwin, const char * const msg);
|
||||
void cl_ev_send_priv_msg(const char * const fulljid, const char * const msg);
|
||||
void cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char * const msg);
|
||||
|
||||
#endif
|
||||
@@ -47,4 +47,10 @@ ProfChatWin*
|
||||
ui_ev_new_chat_win(const char * const barejid)
|
||||
{
|
||||
return ui_new_chat_win(barejid);
|
||||
}
|
||||
|
||||
ProfPrivateWin*
|
||||
ui_ev_new_private_win(const char * const fulljid)
|
||||
{
|
||||
return ui_new_private_win(fulljid);
|
||||
}
|
||||
@@ -37,5 +37,6 @@
|
||||
|
||||
void ui_ev_focus_win(ProfWin *win);
|
||||
ProfChatWin* ui_ev_new_chat_win(const char * const barejid);
|
||||
ProfPrivateWin* ui_ev_new_private_win(const char * const fulljid);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user