diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-05 18:07:58 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-05 18:07:58 +0000 |
| commit | f1034e00f6196c810466da66a9a24bf2e5f61272 (patch) | |
| tree | 2e49089d421a75030c3a8e30503907a7f20eb511 /apps/plugin.h | |
| parent | 802743a061e01150db544c8e072cd794731b18a7 (diff) | |
| download | rockbox-f1034e00f6196c810466da66a9a24bf2e5f61272.zip rockbox-f1034e00f6196c810466da66a9a24bf2e5f61272.tar.gz rockbox-f1034e00f6196c810466da66a9a24bf2e5f61272.tar.bz2 rockbox-f1034e00f6196c810466da66a9a24bf2e5f61272.tar.xz | |
FS#10406 - split the statusbar setting into one for each display, and allow the bar to be at the top or bottom of the display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21665 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index db16800..f3d4c23 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -128,12 +128,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 158 +#define PLUGIN_API_VERSION 159 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 157 +#define PLUGIN_MIN_API_VERSION 159 /* plugin return codes */ enum plugin_status { @@ -595,6 +595,9 @@ struct plugin_api { int (*playlist_create)(const char *dir, const char *file); int (*playlist_insert_track)(struct playlist_info* playlist, const char *filename, int position, bool queue, bool sync); + int (*playlist_insert_directory)(struct playlist_info* playlist, + const char *dirname, int position, bool queue, + bool recurse); int (*playlist_shuffle)(int random_seed, int start_index); void (*audio_play)(long offset); void (*audio_stop)(void); @@ -821,9 +824,6 @@ struct plugin_api { const char *appsversion; /* new stuff at the end, sort into place next time the API gets incompatible */ - int (*playlist_insert_directory)(struct playlist_info* playlist, - const char *dirname, int position, bool queue, - bool recurse); }; /* plugin header */ |