summaryrefslogtreecommitdiff
path: root/apps/playlist_catalog.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-07-20 14:11:15 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-07-20 14:11:15 +0000
commit97a4c1efa473e40b4dd7287571f3b1c9caaba97d (patch)
tree384bb5b81d5c4c5b6098bff835af9a7cc75161de /apps/playlist_catalog.h
parent4983d052a0d73340d09086a796b4ccbb45dfd88b (diff)
FS#11808 - Major playlist handling changes (on disk playlists)
* Playlists are treated similar to directories in the browser, they now open in the viewer when selected instead of automatically starting the playlist. * Make the "Playlists" main menu item useful, it now displays the playlist catalog (and has been renamed accordingly) * Default to storing playlists in the catalog * Add a UI to move the catalog directory (other minor stuff too) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30177 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_catalog.h')
-rw-r--r--apps/playlist_catalog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/playlist_catalog.h b/apps/playlist_catalog.h
index 2c2a2d4158..2e317128b7 100644
--- a/apps/playlist_catalog.h
+++ b/apps/playlist_catalog.h
@@ -21,6 +21,12 @@
#ifndef _PLAYLIST_CATALOG_H_
#define _PLAYLIST_CATALOG_H_
+/* Gets the configured playlist catalog dir */
+const char* catalog_get_directory(void);
+
+/* Set the playlist catalog dir */
+void catalog_set_directory(const char* directory);
+
/*
* View list of playlists in catalog.
* ret : true if no error