diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-04-26 09:30:24 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-04-26 09:30:24 +0000 |
commit | 33c44461e1b5fb9aff2f8ba7470ad2449b3c410e (patch) | |
tree | 4dac157ab03a45868ba75e07af9fb92766fa4ccd /apps/gui/yesno.h | |
parent | e1bc2d5b71bd424325e852b0ef9a89252dac1471 (diff) | |
download | rockbox-33c44461e1b5fb9aff2f8ba7470ad2449b3c410e.tar.gz 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.h | 10 |
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 | |||
32 | 32 | ||
33 | struct gui_yesno | 33 | struct gui_yesno |
34 | { | 34 | { |
35 | struct text_message * main_message; | 35 | const struct text_message * main_message; |
36 | struct text_message * result_message[2]; | 36 | const struct text_message * result_message[2]; |
37 | 37 | ||
38 | struct screen * display; | 38 | struct screen * display; |
39 | }; | 39 | }; |
@@ -47,7 +47,7 @@ struct gui_yesno | |||
47 | * - no_message : message displayed if answer is 'no' | 47 | * - no_message : message displayed if answer is 'no' |
48 | */ | 48 | */ |
49 | extern enum yesno_res gui_syncyesno_run( | 49 | extern enum yesno_res gui_syncyesno_run( |
50 | struct text_message * main_message, | 50 | const struct text_message * main_message, |
51 | struct text_message * yes_message, | 51 | const struct text_message * yes_message, |
52 | struct text_message * no_message); | 52 | const struct text_message * no_message); |
53 | #endif /* _GUI_YESNO_H_ */ | 53 | #endif /* _GUI_YESNO_H_ */ |