diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-12 13:41:52 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-12 13:41:52 +0000 |
| commit | 6e44209a4c60995b8e6c6736f14d6d88bf906ac5 (patch) | |
| tree | 6a444d6fc3bfd519c046b11f44957b10c42ee7a0 /apps/plugin.h | |
| parent | 6f2bb422c091dfc6d54d912ead6addc9bd431c79 (diff) | |
| download | rockbox-6e44209a4c60995b8e6c6736f14d6d88bf906ac5.zip rockbox-6e44209a4c60995b8e6c6736f14d6d88bf906ac5.tar.gz rockbox-6e44209a4c60995b8e6c6736f14d6d88bf906ac5.tar.bz2 rockbox-6e44209a4c60995b8e6c6736f14d6d88bf906ac5.tar.xz | |
Make the Play / Pause option restart playback if its stopped also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12738 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c14b06f..e169596 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -110,7 +110,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 47 +#define PLUGIN_API_VERSION 48 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -598,6 +598,9 @@ struct plugin_api { bool (*detect_flashed_ramimage)(void); bool (*detect_flashed_romimage)(void); #endif + int (*playlist_resume)(void); + int (*playlist_start)(int start_index, int offset); + struct system_status *global_status; }; /* plugin header */ |