aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistState.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/PlaylistState.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/PlaylistState.hxx b/src/PlaylistState.hxx
index 01cc94d03..8d3f88ae2 100644
--- a/src/PlaylistState.hxx
+++ b/src/PlaylistState.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -30,14 +30,16 @@
struct playlist;
struct PlayerControl;
class TextFile;
+class SongLoader;
void
-playlist_state_save(FILE *fp, const struct playlist &playlist,
+playlist_state_save(FILE *fp, const playlist &playlist,
PlayerControl &pc);
bool
playlist_state_restore(const char *line, TextFile &file,
- struct playlist &playlist, PlayerControl &pc);
+ const SongLoader &song_loader,
+ playlist &playlist, PlayerControl &pc);
/**
* Generates a hash number for the current state of the playlist and
@@ -46,7 +48,7 @@ playlist_state_restore(const char *line, TextFile &file,
* be saved.
*/
unsigned
-playlist_state_get_hash(const struct playlist &playlist,
+playlist_state_get_hash(const playlist &playlist,
PlayerControl &c);
#endif