summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_misc.h')
-rw-r--r--apps/plugins/mpegplayer/mpeg_misc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_misc.h b/apps/plugins/mpegplayer/mpeg_misc.h
index c36f4faddc..6996f27987 100644
--- a/apps/plugins/mpegplayer/mpeg_misc.h
+++ b/apps/plugins/mpegplayer/mpeg_misc.h
@@ -228,4 +228,30 @@ void list_enum_items(void **list,
228 list_enum_callback_t callback, 228 list_enum_callback_t callback,
229 intptr_t data); 229 intptr_t data);
230 230
231
232/** System events **/
233
234/* Clear event */
235void mpeg_sysevent_clear(void);
236
237/* Set to ACTION_STD_CANCEL */
238void mpeg_sysevent_set(void);
239
240/* Get event code */
241long mpeg_sysevent(void);
242
243/* Call with a system event code and used as menu callback */
244int mpeg_sysevent_callback(int btn, const struct menu_item_ex *menu);
245
246/* Handle recorded event */
247void mpeg_sysevent_handle(void);
248
249
250/** Buttons **/
251
252/* Get button codes while remembering important events for later
253 * processing; return of ACTION_STD_CANCEL means plugin should
254 * abort and handle the event */
255int mpeg_button_get(int timeout);
256
231#endif /* MPEG_MISC_H */ 257#endif /* MPEG_MISC_H */