aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlaylist.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DatabasePlaylist.hxx (renamed from src/db/simple_db_plugin.h)26
1 files changed, 9 insertions, 17 deletions
diff --git a/src/db/simple_db_plugin.h b/src/DatabasePlaylist.hxx
index 511505846..7c6952ffa 100644
--- a/src/db/simple_db_plugin.h
+++ b/src/DatabasePlaylist.hxx
@@ -17,26 +17,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_SIMPLE_DB_PLUGIN_H
-#define MPD_SIMPLE_DB_PLUGIN_H
+#ifndef MPD_DATABASE_PLAYLIST_HXX
+#define MPD_DATABASE_PLAYLIST_HXX
-#include <glib.h>
-#include <stdbool.h>
-#include <time.h>
+#include "gcc.h"
+#include "gerror.h"
-extern const struct db_plugin simple_db_plugin;
-
-struct db;
-
-G_GNUC_PURE
-struct directory *
-simple_db_get_root(struct db *db);
+class SongFilter;
+gcc_nonnull(1,2)
bool
-simple_db_save(struct db *db, GError **error_r);
-
-G_GNUC_PURE
-time_t
-simple_db_get_mtime(const struct db *db);
+search_add_to_playlist(const char *uri, const char *path_utf8,
+ const SongFilter *filter,
+ GError **error_r);
#endif