aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlaylistFile.hxx')
-rw-r--r--src/PlaylistFile.hxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/PlaylistFile.hxx b/src/PlaylistFile.hxx
index 6df5a46d3..3f63253ad 100644
--- a/src/PlaylistFile.hxx
+++ b/src/PlaylistFile.hxx
@@ -20,7 +20,6 @@
#ifndef MPD_PLAYLIST_FILE_HXX
#define MPD_PLAYLIST_FILE_HXX
-#include <list>
#include <vector>
#include <string>
@@ -28,14 +27,8 @@
#include <time.h>
struct song;
-
-struct PlaylistFileInfo {
- std::string name;
-
- time_t mtime;
-};
-
-typedef std::list<PlaylistFileInfo> PlaylistFileList;
+struct PlaylistInfo;
+class PlaylistVector;
typedef std::vector<std::string> PlaylistFileContents;
@@ -60,7 +53,7 @@ spl_valid_name(const char *name_utf8);
* Returns a list of stored_playlist_info struct pointers. Returns
* NULL if an error occurred.
*/
-PlaylistFileList
+PlaylistVector
ListPlaylistFiles(GError **error_r);
PlaylistFileContents