Change-Id: Idbee52505b3c109a0aad23e2edf7dd78519eb173
This commit is contained in:
Aidan MacDonald 2022-04-16 15:39:56 +01:00
parent f989339664
commit 76035decc6
2 changed files with 4 additions and 0 deletions

View file

@ -810,7 +810,9 @@ static const struct plugin_api rockbox_api = {
queue_remove_from_head,
core_set_keyremap,
plugin_reserve_buffer,
#ifdef HAVE_MULTIVOLUME
path_strip_volume,
#endif
sys_poweroff,
sys_reboot,
};

View file

@ -937,7 +937,9 @@ struct plugin_api {
void (*queue_remove_from_head)(struct event_queue *q, long id);
int (*core_set_keyremap)(struct button_mapping* core_keymap, int count);
size_t (*plugin_reserve_buffer)(size_t buffer_size);
#ifdef HAVE_MULTIVOLUME
int (*path_strip_volume)(const char *name, const char **nameptr, bool greedy);
#endif
void (*sys_poweroff)(void);
void (*sys_reboot)(void);
};