db_error: convert to C++
This commit is contained in:
parent
7af24c4d3a
commit
3deca8fccd
@ -123,7 +123,7 @@ src_mpd_SOURCES = \
|
||||
src/DatabasePrint.cxx src/DatabasePrint.hxx \
|
||||
src/DatabaseQueue.cxx src/DatabaseQueue.hxx \
|
||||
src/DatabasePlaylist.cxx src/DatabasePlaylist.hxx \
|
||||
src/db_error.h \
|
||||
src/DatabaseError.hxx \
|
||||
src/DatabaseLock.cxx src/DatabaseLock.hxx \
|
||||
src/DatabaseSave.cxx src/DatabaseSave.hxx \
|
||||
src/DatabasePlugin.hxx \
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "CommandError.hxx"
|
||||
#include "db_error.h"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "io_error.h"
|
||||
#include "protocol/Result.hxx"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2003-2011 The Music Player Daemon Project
|
||||
* Copyright (C) 2003-2013 The Music Player Daemon Project
|
||||
* http://www.musicpd.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -17,8 +17,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPD_DB_ERROR_H
|
||||
#define MPD_DB_ERROR_H
|
||||
#ifndef MPD_DB_ERROR_HXX
|
||||
#define MPD_DB_ERROR_HXX
|
||||
|
||||
#include "gcc.h"
|
||||
|
@ -22,11 +22,11 @@
|
||||
#include "DatabaseSimple.hxx"
|
||||
#include "DatabaseRegistry.hxx"
|
||||
#include "DatabaseSave.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "conf.h"
|
||||
|
||||
extern "C" {
|
||||
#include "db_error.h"
|
||||
#include "stats.h"
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user