db_error: convert to C++

This commit is contained in:
Max Kellermann
2013-08-10 19:43:27 +02:00
parent 7af24c4d3a
commit 3deca8fccd
6 changed files with 8 additions and 11 deletions

View File

@@ -21,6 +21,7 @@
#include "ProxyDatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "DatabaseError.hxx"
#include "PlaylistVector.hxx"
#include "Directory.hxx"
#include "Song.hxx"
@@ -28,10 +29,6 @@
#include "conf.h"
#include "Tag.hxx"
extern "C" {
#include "db_error.h"
}
#undef MPD_DIRECTORY_H
#undef MPD_SONG_H
#include <mpd/client.h>

View File

@@ -25,7 +25,7 @@
#include "SongFilter.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseLock.hxx"
#include "db_error.h"
#include "DatabaseError.hxx"
#include "TextFile.hxx"
#include "conf.h"
#include "fs/FileSystem.hxx"