summaryrefslogtreecommitdiff
path: root/apps/hosted/android/yesno.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/hosted/android/yesno.c')
-rw-r--r--apps/hosted/android/yesno.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/hosted/android/yesno.c b/apps/hosted/android/yesno.c
index bc8672ad76..af7f5a5c7b 100644
--- a/apps/hosted/android/yesno.c
+++ b/apps/hosted/android/yesno.c
@@ -117,6 +117,17 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message,
117 return ret ? YESNO_YES : YESNO_NO; 117 return ret ? YESNO_YES : YESNO_NO;
118} 118}
119 119
120enum yesno_res gui_syncyesno_run_w_tmo(int ticks, enum yesno_res tmo_default_res,
121 const struct text_message * main_message,
122 const struct text_message * yes_message,
123 const struct text_message * no_message)
124{
125 /* FIXME: create a prompt with timeout for android */
126 (void)ticks;
127 (void)tmo_default_res;
128 return gui_syncyesno_run(main_message, yes_message, no_message);
129}
130
120#endif 131#endif
121 132
122/* Function to manipulate all yesno dialogues. 133/* Function to manipulate all yesno dialogues.