diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-07-21 06:40:01 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-07-21 06:40:01 +0000 |
commit | a7c37ea2d04c35628fc1ca9d353df637612303d0 (patch) | |
tree | 89df13b75ed199e4d284928cd016d0187706514e /apps/gui/yesno.h | |
parent | 2f620b8af336d65a7f48f131b1a78ecb0487de36 (diff) | |
download | rockbox-a7c37ea2d04c35628fc1ca9d353df637612303d0.tar.gz rockbox-a7c37ea2d04c35628fc1ca9d353df637612303d0.zip |
Pull yesno_pop out of the radio code as it is a nice simple resuasble yesno api worth reusing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30183 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/yesno.h')
-rw-r--r-- | apps/gui/yesno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/yesno.h b/apps/gui/yesno.h index 2c146e4853..61bcf8d3c0 100644 --- a/apps/gui/yesno.h +++ b/apps/gui/yesno.h | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #ifndef _GUI_YESNO_H_ | 22 | #ifndef _GUI_YESNO_H_ |
23 | #define _GUI_YESNO_H_ | 23 | #define _GUI_YESNO_H_ |
24 | #include <stdbool.h> | ||
24 | 25 | ||
25 | enum yesno_res | 26 | enum yesno_res |
26 | { | 27 | { |
@@ -47,4 +48,7 @@ extern enum yesno_res gui_syncyesno_run( | |||
47 | const struct text_message * main_message, | 48 | const struct text_message * main_message, |
48 | const struct text_message * yes_message, | 49 | const struct text_message * yes_message, |
49 | const struct text_message * no_message); | 50 | const struct text_message * no_message); |
51 | |||
52 | bool yesno_pop(const char* text); | ||
53 | |||
50 | #endif /* _GUI_YESNO_H_ */ | 54 | #endif /* _GUI_YESNO_H_ */ |