summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 2fe40535ec..b152300f97 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -665,11 +665,7 @@ struct plugin_api {
665#if defined (HAVE_PITCHCONTROL) 665#if defined (HAVE_PITCHCONTROL)
666 void (*sound_set_pitch)(int32_t pitch); 666 void (*sound_set_pitch)(int32_t pitch);
667#endif 667#endif
668#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 668#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE)
669 void (*mp3_play_data)(const void* start, size_t size,
670 mp3_play_callback_t get_more);
671 void (*mp3_play_pause)(bool play);
672 void (*mp3_play_stop)(void);
673 bool (*mp3_is_playing)(void); 669 bool (*mp3_is_playing)(void);
674#endif /* PLATFORM_NATIVE */ 670#endif /* PLATFORM_NATIVE */
675 const unsigned long *audio_master_sampr_list; 671 const unsigned long *audio_master_sampr_list;
@@ -810,10 +806,6 @@ struct plugin_api {
810 char* (*root_menu_write_to_cfg)(void* setting, char*buf, int buf_len); 806 char* (*root_menu_write_to_cfg)(void* setting, char*buf, int buf_len);
811 void (*root_menu_load_from_cfg)(void* setting, char *value); 807 void (*root_menu_load_from_cfg)(void* setting, char *value);
812 808
813 /* statusbars */
814 struct gui_syncstatusbar *statusbars;
815 void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw);
816
817 /* options */ 809 /* options */
818 const struct settings_list* (*get_settings_list)(int*count); 810 const struct settings_list* (*get_settings_list)(int*count);
819 const struct settings_list* (*find_setting)(const void* variable, int *id); 811 const struct settings_list* (*find_setting)(const void* variable, int *id);
@@ -871,7 +863,6 @@ struct plugin_api {
871 int(*compar)(const void *, const void *)); 863 int(*compar)(const void *, const void *));
872 int (*kbd_input)(char* buffer, int buflen, unsigned short *kbd); 864 int (*kbd_input)(char* buffer, int buflen, unsigned short *kbd);
873 struct tm* (*get_time)(void); 865 struct tm* (*get_time)(void);
874 int (*set_time)(const struct tm *tm);
875 struct tm * (*gmtime_r)(const time_t *timep, struct tm *tm); 866 struct tm * (*gmtime_r)(const time_t *timep, struct tm *tm);
876#if CONFIG_RTC 867#if CONFIG_RTC
877 time_t (*mktime)(struct tm *t); 868 time_t (*mktime)(struct tm *t);