dbUtils.h: eliminate this header

This commit is contained in:
Max Kellermann
2012-08-29 18:55:49 +02:00
parent 684a3d30a6
commit 6d4ca071a5
6 changed files with 5 additions and 61 deletions

View File

@@ -22,7 +22,6 @@
#include "DatabaseSelection.hxx"
extern "C" {
#include "dbUtils.h"
#include "playlist.h"
}
@@ -59,9 +58,3 @@ findAddIn(struct player_control *pc, const char *uri,
const auto f = std::bind(AddToQueue, pc, _1, _2);
return db->Visit(selection, f, error_r);
}
bool
addAllIn(struct player_control *pc, const char *uri, GError **error_r)
{
return findAddIn(pc, uri, nullptr, error_r);
}