summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 9992d85620..24443b58d9 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -155,6 +155,9 @@ static const struct plugin_api rockbox_api = {
155 lcd_double_height, 155 lcd_double_height,
156#else 156#else
157 &lcd_static_framebuffer[0][0], 157 &lcd_static_framebuffer[0][0],
158 lcd_set_viewport,
159 lcd_set_framebuffer,
160 lcd_bmp_part,
158 lcd_update_rect, 161 lcd_update_rect,
159 lcd_set_drawmode, 162 lcd_set_drawmode,
160 lcd_get_drawmode, 163 lcd_get_drawmode,
@@ -287,6 +290,7 @@ static const struct plugin_api rockbox_api = {
287#ifdef HAVE_LCD_BITMAP 290#ifdef HAVE_LCD_BITMAP
288 viewportmanager_theme_enable, 291 viewportmanager_theme_enable,
289 viewportmanager_theme_undo, 292 viewportmanager_theme_undo,
293 viewport_set_fullscreen,
290#endif 294#endif
291 295
292 /* list */ 296 /* list */
@@ -583,6 +587,7 @@ static const struct plugin_api rockbox_api = {
583 mixer_channel_stop, 587 mixer_channel_stop,
584 mixer_channel_set_amplitude, 588 mixer_channel_set_amplitude,
585 mixer_channel_get_bytes_waiting, 589 mixer_channel_get_bytes_waiting,
590 mixer_channel_set_buffer_hook,
586 591
587 system_sound_play, 592 system_sound_play,
588 keyclick_click, 593 keyclick_click,
@@ -590,6 +595,7 @@ static const struct plugin_api rockbox_api = {
590 /* playback control */ 595 /* playback control */
591 playlist_amount, 596 playlist_amount,
592 playlist_resume, 597 playlist_resume,
598 playlist_resume_track,
593 playlist_start, 599 playlist_start,
594 playlist_add, 600 playlist_add,
595 playlist_sync, 601 playlist_sync,
@@ -792,14 +798,6 @@ static const struct plugin_api rockbox_api = {
792 /* new stuff at the end, sort into place next time 798 /* new stuff at the end, sort into place next time
793 the API gets incompatible */ 799 the API gets incompatible */
794 800
795#ifdef HAVE_LCD_BITMAP
796#if CONFIG_CODEC == SWCODEC
797 mixer_channel_set_buffer_hook,
798#endif
799 lcd_set_viewport,
800 viewport_set_fullscreen,
801 lcd_set_framebuffer,
802#endif
803}; 801};
804 802
805int plugin_load(const char* plugin, const void* parameter) 803int plugin_load(const char* plugin, const void* parameter)