summaryrefslogtreecommitdiffstats
path: root/apps/gui/yesno.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-04-26 09:30:24 +0000
committerNils Wallménius <nils@rockbox.org>2008-04-26 09:30:24 +0000
commit33c44461e1b5fb9aff2f8ba7470ad2449b3c410e (patch)
tree4dac157ab03a45868ba75e07af9fb92766fa4ccd /apps/gui/yesno.h
parente1bc2d5b71bd424325e852b0ef9a89252dac1471 (diff)
downloadrockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.gz
rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.bz2
rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.zip
Const police raid, making a lot of pointers to lang strings const and removing some ugly casting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17251 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/yesno.h')
-rw-r--r--apps/gui/yesno.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/gui/yesno.h b/apps/gui/yesno.h
index 67456cf69b..b57ee89d48 100644
--- a/apps/gui/yesno.h
+++ b/apps/gui/yesno.h
@@ -32,8 +32,8 @@ enum yesno_res
struct gui_yesno
{
- struct text_message * main_message;
- struct text_message * result_message[2];
+ const struct text_message * main_message;
+ const struct text_message * result_message[2];
struct screen * display;
};
@@ -47,7 +47,7 @@ struct gui_yesno
* - no_message : message displayed if answer is 'no'
*/
extern enum yesno_res gui_syncyesno_run(
- struct text_message * main_message,
- struct text_message * yes_message,
- struct text_message * no_message);
+ const struct text_message * main_message,
+ const struct text_message * yes_message,
+ const struct text_message * no_message);
#endif /* _GUI_YESNO_H_ */