diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 3e099253dc..286c36cfb7 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -54,6 +54,10 @@ | |||
54 | #include "pcm_playback.h" | 54 | #include "pcm_playback.h" |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifdef HAVE_CHARGING | ||
58 | #include "power.h" | ||
59 | #endif | ||
60 | |||
57 | #ifdef HAVE_LCD_BITMAP | 61 | #ifdef HAVE_LCD_BITMAP |
58 | #include "peakmeter.h" | 62 | #include "peakmeter.h" |
59 | #include "widgets.h" | 63 | #include "widgets.h" |
@@ -385,6 +389,16 @@ static const struct plugin_api rockbox_api = { | |||
385 | lcd_bitmap_transparent, | 389 | lcd_bitmap_transparent, |
386 | #endif | 390 | #endif |
387 | memmove, | 391 | memmove, |
392 | #ifdef HAVE_CHARGING | ||
393 | charger_inserted, | ||
394 | # ifdef HAVE_CHARGE_STATE | ||
395 | charging_state, | ||
396 | # endif | ||
397 | #endif | ||
398 | #ifdef HAVE_USB_POWER | ||
399 | usb_powered, | ||
400 | #endif | ||
401 | |||
388 | }; | 402 | }; |
389 | 403 | ||
390 | int plugin_load(const char* plugin, void* parameter) | 404 | int plugin_load(const char* plugin, void* parameter) |