diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-15 13:22:02 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-15 13:22:02 +0000 |
commit | 101693fd3047fb64e766580e80635a424fa25c4d (patch) | |
tree | 80f5664710a6e84b73f33e22c1b8632c13c5a727 /apps/main.c | |
parent | e7e4b131d06f748400b5299d4d1ebfb38f9f08bf (diff) | |
download | rockbox-101693fd3047fb64e766580e80635a424fa25c4d.tar.gz rockbox-101693fd3047fb64e766580e80635a424fa25c4d.zip |
FS#12251 - User shortcuts in the main menu.
Custom shortcuts which give the user fast access to regularly used files/folders/settings/whatever.
Thanks to Alexander Levin for the manual part of the patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index c2dfc1a435..38de780c8d 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -79,6 +79,7 @@ | |||
79 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | 79 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |
80 | #include "notification.h" | 80 | #include "notification.h" |
81 | #endif | 81 | #endif |
82 | #include "shortcuts.h" | ||
82 | 83 | ||
83 | #ifdef IPOD_ACCESSORY_PROTOCOL | 84 | #ifdef IPOD_ACCESSORY_PROTOCOL |
84 | #include "iap.h" | 85 | #include "iap.h" |
@@ -387,6 +388,7 @@ static void init(void) | |||
387 | filetype_init(); | 388 | filetype_init(); |
388 | playlist_init(); | 389 | playlist_init(); |
389 | theme_init_buffer(); | 390 | theme_init_buffer(); |
391 | shortcuts_init(); | ||
390 | 392 | ||
391 | #if CONFIG_CODEC != SWCODEC | 393 | #if CONFIG_CODEC != SWCODEC |
392 | mp3_init( global_settings.volume, | 394 | mp3_init( global_settings.volume, |
@@ -667,6 +669,7 @@ static void init(void) | |||
667 | filetype_init(); | 669 | filetype_init(); |
668 | scrobbler_init(); | 670 | scrobbler_init(); |
669 | theme_init_buffer(); | 671 | theme_init_buffer(); |
672 | shortcuts_init(); | ||
670 | 673 | ||
671 | #if CONFIG_CODEC != SWCODEC | 674 | #if CONFIG_CODEC != SWCODEC |
672 | /* No buffer allocation (see buffer.c) may take place after the call to | 675 | /* No buffer allocation (see buffer.c) may take place after the call to |