aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseQueue.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DatabaseQueue.hxx (renamed from src/dbUtils.h)32
1 files changed, 5 insertions, 27 deletions
diff --git a/src/dbUtils.h b/src/DatabaseQueue.hxx
index 706c807fd..21ffe0fb0 100644
--- a/src/dbUtils.h
+++ b/src/DatabaseQueue.hxx
@@ -17,40 +17,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_DB_UTILS_H
-#define MPD_DB_UTILS_H
+#ifndef MPD_DATABASE_QUEUE_HXX
+#define MPD_DATABASE_QUEUE_HXX
#include "gcc.h"
+#include "gerror.h"
-#include <glib.h>
-#include <stdbool.h>
-
-struct locate_item_list;
+class SongFilter;
struct player_control;
gcc_nonnull(1,2)
bool
-addAllIn(struct player_control *pc, const char *uri, GError **error_r);
-
-gcc_nonnull(1,2)
-bool
-addAllInToStoredPlaylist(const char *uri_utf8, const char *path_utf8,
- GError **error_r);
-
-gcc_nonnull(1,2,3)
-bool
findAddIn(struct player_control *pc, const char *name,
- const struct locate_item_list *criteria, GError **error_r);
-
-gcc_nonnull(1,2,3)
-bool
-search_add_songs(struct player_control *pc, const char *uri,
- const struct locate_item_list *criteria, GError **error_r);
-
-gcc_nonnull(1,2,3)
-bool
-search_add_to_playlist(const char *uri, const char *path_utf8,
- const struct locate_item_list *criteria,
- GError **error_r);
+ const SongFilter *filter, GError **error_r);
#endif