diff options
-rw-r--r-- | tools/playlist.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/playlist.h b/tools/playlist.h index f42b408a..870e8469 100644 --- a/tools/playlist.h +++ b/tools/playlist.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: playlist.h,v 1.1 2006-12-23 10:07:03 phintuka Exp $ + * $Id: playlist.h,v 1.2 2006-12-24 00:19:18 phintuka Exp $ * */ @@ -90,7 +90,9 @@ class cPlaylist : protected cList<cPlaylistItem> bool (config_t::*Filter)(const char *) = &config_t::IsAudioFile); friend class cID3Scanner; + friend class cPlaylistReader; void PlaylistChanged(const cPlaylistItem *Item); + cPlaylistItem *Last(void) { return cList<cPlaylistItem>::Last(); } public: @@ -104,6 +106,7 @@ class cPlaylist : protected cList<cPlaylistItem> // read playlist from file or create playlist from directory tree bool Read(const char *PlaylistFile, bool Recursive = false); + void StartScanner(void); void Sort(void); int Count(void) const; |