summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-09 21:59:13 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-09 21:59:13 +0200
commit53f8dec0b5a74ac8e2bec719cf34bc9ddaf21e75 (patch)
treea483704d2eff8813e25096cabb886979ae737052 /playlist.h
parentefc88dc7af40e35c011f4bff226ef21b75175c1b (diff)
playlist save/load initial impl
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/playlist.h b/playlist.h
index 1147b0f1..52836d9c 100644
--- a/playlist.h
+++ b/playlist.h
@@ -39,8 +39,6 @@ typedef struct playItem_s {
const char *filetype; // e.g. MP3 or OGG
struct playItem_s *next[PL_MAX_ITERATORS]; // next item in linked list
struct playItem_s *prev[PL_MAX_ITERATORS]; // prev item in linked list
-// struct playItem_s *shufflenext; // next item in shuffle list
-// struct playItem_s *searchnext; // next in search results list
struct metaInfo_s *meta; // linked list storing metainfo
unsigned selected : 1;
} playItem_t;
@@ -130,4 +128,10 @@ pl_set_order (int order);
void
pl_set_loop_mode (int mode);
+int
+pl_save (const char *fname);
+
+int
+pl_load (const char *fname);
+
#endif // __PLAYLIST_H