summaryrefslogtreecommitdiffstats
path: root/apps/main_menu.c
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2003-01-22 12:50:34 +0000
committerUwe Freese <thebreaker@rockbox.org>2003-01-22 12:50:34 +0000
commit86352ccc3f47bc0f6bdcdcdc7b752f0836900fcd (patch)
tree6bb892fcae88e04a3a45239236cd3dde97d8d7ce /apps/main_menu.c
parentfa2229559802f7066b55cc2ab0761c9e742658f7 (diff)
downloadrockbox-86352ccc3f47bc0f6bdcdcdc7b752f0836900fcd.tar.gz
rockbox-86352ccc3f47bc0f6bdcdcdc7b752f0836900fcd.tar.bz2
rockbox-86352ccc3f47bc0f6bdcdcdc7b752f0836900fcd.zip
Code for alarm mod. Enable with adding -DHAVE_ALARM_MOD in Makefile (EXTRA_DEFINES).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3150 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index 0b51a798ab..9eb6643aef 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -47,6 +47,10 @@
#include "recording.h"
#endif
+#ifdef HAVE_ALARM_MOD
+#include "alarm_menu.h"
+#endif
+
#ifdef HAVE_LCD_BITMAP
#include "bmp.h"
#include "icons.h"
@@ -253,10 +257,13 @@ bool main_menu(void)
struct menu_items items[] = {
{ str(LANG_SOUND_SETTINGS), sound_menu },
{ str(LANG_GENERAL_SETTINGS), settings_menu },
- { str(LANG_SLEEP_TIMER), sleeptimer_screen },
+ { str(LANG_SLEEP_TIMER), sleeptimer_screen },
+#ifdef HAVE_ALARM_MOD
+ { str(LANG_ALARM_MOD_ALARM_MENU), alarm_screen },
+#endif
#ifdef HAVE_MAS3587F
- { str(LANG_RECORDING_SETTINGS), recording_menu },
- { str(LANG_RECORDING), recording_screen },
+ { str(LANG_RECORDING_SETTINGS), recording_menu },
+ { str(LANG_RECORDING), recording_screen },
#endif
#ifdef HAVE_LCD_BITMAP
#ifdef USE_GAMES