summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c30
1 files changed, 12 insertions, 18 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 2d996a404e..f079e849bd 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -135,11 +135,18 @@ static const struct plugin_api rockbox_api = {
135 lcd_blit_mono, 135 lcd_blit_mono,
136 lcd_blit_grey_phase, 136 lcd_blit_grey_phase,
137#endif /* LCD_DEPTH */ 137#endif /* LCD_DEPTH */
138#if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256)
139 lcd_blit_pal256,
140 lcd_pal256_update_pal,
141#endif
138 lcd_puts_style, 142 lcd_puts_style,
139 lcd_puts_scroll_style, 143 lcd_puts_scroll_style,
140#ifdef HAVE_LCD_INVERT 144#ifdef HAVE_LCD_INVERT
141 lcd_set_invert_display, 145 lcd_set_invert_display,
142#endif /* HAVE_LCD_INVERT */ 146#endif /* HAVE_LCD_INVERT */
147#if defined(HAVE_LCD_MODES)
148 lcd_set_mode,
149#endif
143#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) 150#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
144 lcd_activation_set_hook, 151 lcd_activation_set_hook,
145 &button_queue, 152 &button_queue,
@@ -571,6 +578,11 @@ static const struct plugin_api rockbox_api = {
571#endif 578#endif
572#ifdef HAVE_LCD_BITMAP 579#ifdef HAVE_LCD_BITMAP
573 read_bmp_file, 580 read_bmp_file,
581 read_bmp_fd,
582#ifdef HAVE_JPEG
583 read_jpeg_file,
584 read_jpeg_fd,
585#endif
574 screen_dump_set_hook, 586 screen_dump_set_hook,
575#endif 587#endif
576 show_logo, 588 show_logo,
@@ -632,24 +644,6 @@ static const struct plugin_api rockbox_api = {
632 appsversion, 644 appsversion,
633 /* new stuff at the end, sort into place next time 645 /* new stuff at the end, sort into place next time
634 the API gets incompatible */ 646 the API gets incompatible */
635
636#if defined(HAVE_LCD_MODES)
637 lcd_set_mode,
638#endif
639
640#if defined(HAVE_LCD_MODES)
641#if HAVE_LCD_MODES & LCD_MODE_PAL256
642 lcd_blit_pal256,
643 lcd_pal256_update_pal,
644#endif
645#endif
646#ifdef HAVE_LCD_BITMAP
647#ifdef HAVE_JPEG
648 read_jpeg_file,
649 read_jpeg_fd,
650#endif
651 read_bmp_fd,
652#endif
653}; 647};
654 648
655int plugin_load(const char* plugin, const void* parameter) 649int plugin_load(const char* plugin, const void* parameter)