db_selection: rename to DatabaseSelection

This commit is contained in:
Max Kellermann
2012-08-07 23:06:41 +02:00
parent b3d76b7e5c
commit ff58207034
13 changed files with 39 additions and 64 deletions

View File

@@ -22,7 +22,6 @@
extern "C" {
#include "stats.h"
#include "database.h"
#include "db_selection.h"
#include "tag.h"
#include "song.h"
#include "client.h"
@@ -31,6 +30,7 @@ extern "C" {
#include "client_internal.h"
}
#include "DatabaseSelection.hxx"
#include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx"
@@ -99,8 +99,7 @@ void stats_update(void)
stats.song_duration = 0;
stats.artist_count = 0;
struct db_selection selection;
db_selection_init(&selection, "", true);
const DatabaseSelection selection("", true);
StringSet artists, albums;
using namespace std::placeholders;