summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 685dab960f..c06ae257e4 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -141,6 +141,7 @@ static const struct plugin_api rockbox_api = {
141 /* remote lcd */ 141 /* remote lcd */
142 lcd_remote_set_contrast, 142 lcd_remote_set_contrast,
143 lcd_remote_clear_display, 143 lcd_remote_clear_display,
144 lcd_remote_setmargins,
144 lcd_remote_puts, 145 lcd_remote_puts,
145 lcd_remote_puts_scroll, 146 lcd_remote_puts_scroll,
146 lcd_remote_stop_scroll, 147 lcd_remote_stop_scroll,
@@ -183,6 +184,9 @@ static const struct plugin_api rockbox_api = {
183#if defined(HAVE_LCD_COLOR) 184#if defined(HAVE_LCD_COLOR)
184 lcd_yuv_blit, 185 lcd_yuv_blit,
185#endif 186#endif
187#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200)
188 lcd_yuv_set_options,
189#endif
186 /* list */ 190 /* list */
187 gui_synclist_init, 191 gui_synclist_init,
188 gui_synclist_set_nb_items, 192 gui_synclist_set_nb_items,
@@ -202,6 +206,7 @@ static const struct plugin_api rockbox_api = {
202 button_get_w_tmo, 206 button_get_w_tmo,
203 button_status, 207 button_status,
204 button_clear_queue, 208 button_clear_queue,
209 button_queue_count,
205#ifdef HAS_BUTTON_HOLD 210#ifdef HAS_BUTTON_HOLD
206 button_hold, 211 button_hold,
207#endif 212#endif
@@ -463,6 +468,13 @@ static const struct plugin_api rockbox_api = {
463#endif 468#endif
464 &global_settings, 469 &global_settings,
465 &global_status, 470 &global_status,
471 talk_disable_menus,
472 talk_enable_menus,
473#if CONFIG_CODEC == SWCODEC
474 codec_load_file,
475 get_codec_filename,
476 get_metadata,
477#endif
466 mp3info, 478 mp3info,
467 count_mp3_frames, 479 count_mp3_frames,
468 create_xing_header, 480 create_xing_header,
@@ -492,6 +504,11 @@ static const struct plugin_api rockbox_api = {
492 detect_flashed_ramimage, 504 detect_flashed_ramimage,
493 detect_flashed_romimage, 505 detect_flashed_romimage,
494#endif 506#endif
507 led,
508#ifdef CACHE_FUNCTIONS_AS_CALL
509 flush_icache,
510 invalidate_icache,
511#endif
495 /* new stuff at the end, sort into place next time 512 /* new stuff at the end, sort into place next time
496 the API gets incompatible */ 513 the API gets incompatible */
497 514
@@ -499,27 +516,6 @@ static const struct plugin_api rockbox_api = {
499 spinlock_init, 516 spinlock_init,
500 spinlock_lock, 517 spinlock_lock,
501 spinlock_unlock, 518 spinlock_unlock,
502
503 codec_load_file,
504 get_codec_filename,
505 get_metadata,
506#endif
507 led,
508
509#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200)
510 lcd_yuv_set_options,
511#endif
512
513#ifdef CACHE_FUNCTIONS_AS_CALL
514 flush_icache,
515 invalidate_icache,
516#endif
517 talk_disable_menus,
518 talk_enable_menus,
519
520 button_queue_count,
521#ifdef HAVE_REMOTE_LCD
522 lcd_remote_setmargins,
523#endif 519#endif
524}; 520};
525 521
@@ -666,7 +662,11 @@ int plugin_load(const char* plugin, void* parameter)
666#endif 662#endif
667 lcd_remote_setmargins(rxm, rym); 663 lcd_remote_setmargins(rxm, rym);
668 lcd_remote_clear_display(); 664 lcd_remote_clear_display();
665
666
669 lcd_remote_update(); 667 lcd_remote_update();
668
669
670#endif 670#endif
671 671
672 if (pfn_tsr_exit == NULL) 672 if (pfn_tsr_exit == NULL)