summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-18 23:02:58 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:26:15 +0000
commit503bb791b0163d47ae798814696b586c37f75cf0 (patch)
tree04c4556d6dd644a6aac0c3d901a34d60f8d7d1aa /apps/plugin.h
parent658026e6267277b27d297c481728f74d160a8481 (diff)
plugins: Remove six API functions with no users
statusbars, gui_syncstatusbar_draw(), and set_time() mp3_play_data(), mp3_play_pause(), mp3_play_stop() [mp3_is_playing() is still used by imageviewer] (followup to the sh/archos exorcism..) Change-Id: I06a1d981ffc86b8073fcfa2380a393a07347ab3b
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 {
#if defined (HAVE_PITCHCONTROL)
void (*sound_set_pitch)(int32_t pitch);
#endif
-#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
- void (*mp3_play_data)(const void* start, size_t size,
- mp3_play_callback_t get_more);
- void (*mp3_play_pause)(bool play);
- void (*mp3_play_stop)(void);
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE)
bool (*mp3_is_playing)(void);
#endif /* PLATFORM_NATIVE */
const unsigned long *audio_master_sampr_list;
@@ -810,10 +806,6 @@ struct plugin_api {
char* (*root_menu_write_to_cfg)(void* setting, char*buf, int buf_len);
void (*root_menu_load_from_cfg)(void* setting, char *value);
- /* statusbars */
- struct gui_syncstatusbar *statusbars;
- void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw);
-
/* options */
const struct settings_list* (*get_settings_list)(int*count);
const struct settings_list* (*find_setting)(const void* variable, int *id);
@@ -871,7 +863,6 @@ struct plugin_api {
int(*compar)(const void *, const void *));
int (*kbd_input)(char* buffer, int buflen, unsigned short *kbd);
struct tm* (*get_time)(void);
- int (*set_time)(const struct tm *tm);
struct tm * (*gmtime_r)(const time_t *timep, struct tm *tm);
#if CONFIG_RTC
time_t (*mktime)(struct tm *t);