diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseQueue.hxx (renamed from src/db_internal.h) | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/db_internal.h b/src/DatabaseQueue.hxx index a33351524..bae5b1f05 100644 --- a/src/db_internal.h +++ b/src/DatabaseQueue.hxx @@ -17,19 +17,16 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_DB_INTERNAL_H -#define MPD_DB_INTERNAL_H +#ifndef MPD_DATABASE_QUEUE_HXX +#define MPD_DATABASE_QUEUE_HXX -#include "db_plugin.h" +#include "gerror.h" -#include <assert.h> +struct Partition; +struct DatabaseSelection; -static inline void -db_base_init(struct db *db, const struct db_plugin *plugin) -{ - assert(plugin != NULL); - - db->plugin = plugin; -} +bool +AddFromDatabase(Partition &partition, const DatabaseSelection &selection, + GError **error_r); #endif |