diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 952bdc8846..3d9161a456 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -452,6 +452,17 @@ struct plugin_api { | |||
452 | int width, int height); | 452 | int width, int height); |
453 | #endif | 453 | #endif |
454 | void* (*memmove)(void *out, const void *in, size_t n); | 454 | void* (*memmove)(void *out, const void *in, size_t n); |
455 | |||
456 | #ifdef HAVE_CHARGING | ||
457 | bool (*charger_inserted)(void); | ||
458 | # ifdef HAVE_CHARGE_STATE | ||
459 | bool (*charging_state)(void); | ||
460 | # endif | ||
461 | #endif | ||
462 | #ifdef HAVE_USB_POWER | ||
463 | bool (*usb_powered)(void); | ||
464 | #endif | ||
465 | |||
455 | }; | 466 | }; |
456 | 467 | ||
457 | /* plugin header */ | 468 | /* plugin header */ |