From 8b8768bfff48d148795b1579d330461abd99b980 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 31 May 2009 14:40:25 +0000 Subject: Commit the first part of FS#10263: Starting playback from within pictureflow, by creating a playlist from the tracklist and playing it. The database integration part is postponed until it's more featured. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21143 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 3346a76e43..84501aca07 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -813,6 +813,10 @@ struct plugin_api { #if defined(HAVE_TAGCACHE) && defined(HAVE_TC_RAMCACHE) bool (*tagcache_fill_tags)(struct mp3entry *id3, const char *filename); #endif + int (*playlist_add)(const char *filename); + void (*playlist_sync)(struct playlist_info* playlist); + int (*playlist_remove_all_tracks)(struct playlist_info *playlist); + int (*playlist_create)(const char *dir, const char *file); }; /* plugin header */ -- cgit v1.2.3