From ff9abecd509f3a1d1f857a736dda28da9e94ad69 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 27 Oct 2015 22:25:02 +0000 Subject: Combined chatwin OTR SMP functions --- tests/unittests/ui/stub_ui.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'tests/unittests/ui/stub_ui.c') diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index de36676a..14911282 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -70,19 +70,8 @@ void chatwin_otr_secured(ProfChatWin *chatwin, gboolean trusted) {} void chatwin_otr_unsecured(ProfChatWin *chatwin) {} void chatwin_otr_trust(ProfChatWin *chatwin) {} void chatwin_otr_untrust(ProfChatWin *chatwin) {} -void chatwin_otr_smp_init(ProfChatWin *chatwin) {} -void chatwin_otr_smp_init_q(ProfChatWin *chatwin, const char *question) {} +void chatwin_otr_smp_event(ProfChatWin *chatwin, prof_otr_smp_event_t event, void *data) {} -void chatwin_otr_smp_success(ProfChatWin *chatwin) {} -void chatwin_otr_smp_sender_failed(ProfChatWin *chatwin) {} -void chatwin_otr_smp_receiver_failed(ProfChatWin *chatwin) {} -void chatwin_otr_smp_aborted(ProfChatWin *chatwin) {} - -void chatwin_otr_smp_answer_success(ProfChatWin *chatwin) {} -void chatwin_otr_smp_answer_failure(ProfChatWin *chatwin) {} - -void chatwin_otr_smp_authenticating(ProfChatWin *chatwin) {} -void chatwin_otr_smp_authenticaton_wait(ProfChatWin *chatwin) {} void ui_sigwinch_handler(int sig) {} unsigned long ui_get_idle_time(void) @@ -552,6 +541,7 @@ void win_show_occupant_info(ProfWin *window, const char * const room, Occupant * void win_show_contact(ProfWin *window, PContact contact) {} void win_show_info(ProfWin *window, PContact contact) {} void win_println(ProfWin *window, int pad, const char * const message) {} +void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...) {} // desktop notifier actions void notifier_uninit(void) {} -- cgit 1.4.1-2-gfad0