aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseQueue.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DatabaseQueue.hxx (renamed from src/directory_save.h)23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/directory_save.h b/src/DatabaseQueue.hxx
index 2d0056830..50ed7d03a 100644
--- a/src/directory_save.h
+++ b/src/DatabaseQueue.hxx
@@ -17,21 +17,20 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_DIRECTORY_SAVE_H
-#define MPD_DIRECTORY_SAVE_H
+#ifndef MPD_DATABASE_QUEUE_HXX
+#define MPD_DATABASE_QUEUE_HXX
-#include <glib.h>
+#include "gcc.h"
+#include "gerror.h"
-#include <stdbool.h>
-#include <stdio.h>
-
-struct directory;
-
-void
-directory_save(FILE *fp, const struct directory *directory);
+class SongFilter;
+struct playlist;
+struct player_control;
+gcc_nonnull(2,3)
bool
-directory_load(FILE *fp, struct directory *directory,
- GString *buffer, GError **error);
+findAddIn(struct playlist &playlist, struct player_control *pc,
+ const char *name,
+ const SongFilter *filter, GError **error_r);
#endif