diff options
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.h')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.h b/apps/plugins/mpegplayer/mpeg_settings.h index fa50176161..95ecc29546 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.h +++ b/apps/plugins/mpegplayer/mpeg_settings.h | |||
@@ -56,12 +56,18 @@ enum mpeg_start_id | |||
56 | MPEG_START_EXIT, | 56 | MPEG_START_EXIT, |
57 | }; | 57 | }; |
58 | 58 | ||
59 | enum mpeg_setting_id | ||
60 | { | ||
61 | MPEG_SETTING_DISPLAY_SETTINGS, | ||
62 | MPEG_SETTING_AUDIO_SETTINGS, | ||
63 | MPEG_SETTING_ENABLE_START_MENU, | ||
64 | MPEG_SETTING_CLEAR_RESUMES, | ||
65 | }; | ||
66 | |||
59 | enum mpeg_menu_id | 67 | enum mpeg_menu_id |
60 | { | 68 | { |
61 | MPEG_MENU_DISPLAY_SETTINGS, | 69 | MPEG_MENU_SETTINGS, |
62 | MPEG_MENU_AUDIO_SETTINGS, | 70 | MPEG_MENU_RESUME, |
63 | MPEG_MENU_ENABLE_START_MENU, | ||
64 | MPEG_MENU_CLEAR_RESUMES, | ||
65 | MPEG_MENU_QUIT, | 71 | MPEG_MENU_QUIT, |
66 | }; | 72 | }; |
67 | 73 | ||
@@ -91,13 +97,8 @@ struct mpeg_settings { | |||
91 | extern struct mpeg_settings settings; | 97 | extern struct mpeg_settings settings; |
92 | 98 | ||
93 | int mpeg_start_menu(uint32_t duration); | 99 | int mpeg_start_menu(uint32_t duration); |
100 | int mpeg_menu(void); | ||
94 | 101 | ||
95 | enum | ||
96 | { | ||
97 | MPEG_MENU_HIDE_QUIT_ITEM = 0x1, /* Don't show the quit item */ | ||
98 | }; | ||
99 | |||
100 | int mpeg_menu(unsigned flags); | ||
101 | void mpeg_menu_sysevent_clear(void); | 102 | void mpeg_menu_sysevent_clear(void); |
102 | long mpeg_menu_sysevent(void); | 103 | long mpeg_menu_sysevent(void); |
103 | int mpeg_menu_sysevent_callback(int btn, const struct menu_item_ex *menu); | 104 | int mpeg_menu_sysevent_callback(int btn, const struct menu_item_ex *menu); |