diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-07-23 09:49:34 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-07-24 20:07:45 -0400 |
commit | 7824b1dcb56cad3cecba733ab6cec61f29862981 (patch) | |
tree | 174fb9b49251c578f6f67fcb23fe77bdafce9fba /apps/plugin.h | |
parent | e49c1af5709bd24ea9c088c6d1676372bd7cc780 (diff) | |
download | rockbox-7824b1dcb56cad3cecba733ab6cec61f29862981.tar.gz rockbox-7824b1dcb56cad3cecba733ab6cec61f29862981.zip |
Plugin Api update with added functions
Change-Id: I3c48c999da240f68f4960d2e137c613b224beb5c
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index b152300f97..ee21291192 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -161,6 +161,8 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
161 | new function which are "waiting" at the end of the function table) */ | 161 | new function which are "waiting" at the end of the function table) */ |
162 | #define PLUGIN_MIN_API_VERSION 239 | 162 | #define PLUGIN_MIN_API_VERSION 239 |
163 | 163 | ||
164 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ | ||
165 | |||
164 | /* plugin return codes */ | 166 | /* plugin return codes */ |
165 | /* internal returns start at 0x100 to make exit(1..255) work */ | 167 | /* internal returns start at 0x100 to make exit(1..255) work */ |
166 | #define INTERNAL_PLUGIN_RETVAL_START 0x100 | 168 | #define INTERNAL_PLUGIN_RETVAL_START 0x100 |
@@ -769,6 +771,7 @@ struct plugin_api { | |||
769 | #endif | 771 | #endif |
770 | 772 | ||
771 | /* playback control */ | 773 | /* playback control */ |
774 | struct playlist_info* (*playlist_get_current)(void); | ||
772 | int (*playlist_amount)(void); | 775 | int (*playlist_amount)(void); |
773 | int (*playlist_resume)(void); | 776 | int (*playlist_resume)(void); |
774 | void (*playlist_resume_track)(int start_index, unsigned int crc, | 777 | void (*playlist_resume_track)(int start_index, unsigned int crc, |