Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
3deca8fc
Commit
3deca8fc
authored
Aug 10, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db_error: convert to C++
parent
7af24c4d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
11 deletions
+8
-11
Makefile.am
Makefile.am
+1
-1
CommandError.cxx
src/CommandError.cxx
+1
-1
DatabaseError.hxx
src/DatabaseError.hxx
+3
-3
DatabaseGlue.cxx
src/DatabaseGlue.cxx
+1
-1
ProxyDatabasePlugin.cxx
src/db/ProxyDatabasePlugin.cxx
+1
-4
SimpleDatabasePlugin.cxx
src/db/SimpleDatabasePlugin.cxx
+1
-1
No files found.
Makefile.am
View file @
3deca8fc
...
@@ -123,7 +123,7 @@ src_mpd_SOURCES = \
...
@@ -123,7 +123,7 @@ src_mpd_SOURCES = \
src/DatabasePrint.cxx src/DatabasePrint.hxx
\
src/DatabasePrint.cxx src/DatabasePrint.hxx
\
src/DatabaseQueue.cxx src/DatabaseQueue.hxx
\
src/DatabaseQueue.cxx src/DatabaseQueue.hxx
\
src/DatabasePlaylist.cxx src/DatabasePlaylist.hxx
\
src/DatabasePlaylist.cxx src/DatabasePlaylist.hxx
\
src/
db_error.h
\
src/
DatabaseError.hxx
\
src/DatabaseLock.cxx src/DatabaseLock.hxx
\
src/DatabaseLock.cxx src/DatabaseLock.hxx
\
src/DatabaseSave.cxx src/DatabaseSave.hxx
\
src/DatabaseSave.cxx src/DatabaseSave.hxx
\
src/DatabasePlugin.hxx
\
src/DatabasePlugin.hxx
\
...
...
src/CommandError.cxx
View file @
3deca8fc
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "config.h"
#include "CommandError.hxx"
#include "CommandError.hxx"
#include "
db_error.h
"
#include "
DatabaseError.hxx
"
#include "io_error.h"
#include "io_error.h"
#include "protocol/Result.hxx"
#include "protocol/Result.hxx"
...
...
src/
db_error.h
→
src/
DatabaseError.hxx
View file @
3deca8fc
/*
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
*/
#ifndef MPD_DB_ERROR_H
#ifndef MPD_DB_ERROR_H
XX
#define MPD_DB_ERROR_H
#define MPD_DB_ERROR_H
XX
#include "gcc.h"
#include "gcc.h"
...
...
src/DatabaseGlue.cxx
View file @
3deca8fc
...
@@ -22,11 +22,11 @@
...
@@ -22,11 +22,11 @@
#include "DatabaseSimple.hxx"
#include "DatabaseSimple.hxx"
#include "DatabaseRegistry.hxx"
#include "DatabaseRegistry.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseError.hxx"
#include "Directory.hxx"
#include "Directory.hxx"
#include "conf.h"
#include "conf.h"
extern
"C"
{
extern
"C"
{
#include "db_error.h"
#include "stats.h"
#include "stats.h"
}
}
...
...
src/db/ProxyDatabasePlugin.cxx
View file @
3deca8fc
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include "ProxyDatabasePlugin.hxx"
#include "ProxyDatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "DatabaseSelection.hxx"
#include "DatabaseError.hxx"
#include "PlaylistVector.hxx"
#include "PlaylistVector.hxx"
#include "Directory.hxx"
#include "Directory.hxx"
#include "Song.hxx"
#include "Song.hxx"
...
@@ -28,10 +29,6 @@
...
@@ -28,10 +29,6 @@
#include "conf.h"
#include "conf.h"
#include "Tag.hxx"
#include "Tag.hxx"
extern
"C"
{
#include "db_error.h"
}
#undef MPD_DIRECTORY_H
#undef MPD_DIRECTORY_H
#undef MPD_SONG_H
#undef MPD_SONG_H
#include <mpd/client.h>
#include <mpd/client.h>
...
...
src/db/SimpleDatabasePlugin.cxx
View file @
3deca8fc
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "SongFilter.hxx"
#include "SongFilter.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseLock.hxx"
#include "DatabaseLock.hxx"
#include "
db_error.h
"
#include "
DatabaseError.hxx
"
#include "TextFile.hxx"
#include "TextFile.hxx"
#include "conf.h"
#include "conf.h"
#include "fs/FileSystem.hxx"
#include "fs/FileSystem.hxx"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment