Commit 98dbc959 authored by Max Kellermann's avatar Max Kellermann

rename CommandError.h to CommandError.hxx

parent 145c1d21
...@@ -234,7 +234,7 @@ src_mpd_SOURCES = \ ...@@ -234,7 +234,7 @@ src_mpd_SOURCES = \
src/audio_parser.c \ src/audio_parser.c \
src/protocol/argparser.c src/protocol/argparser.h \ src/protocol/argparser.c src/protocol/argparser.h \
src/protocol/result.c src/protocol/result.h \ src/protocol/result.c src/protocol/result.h \
src/CommandError.cxx src/CommandError.h \ src/CommandError.cxx src/CommandError.hxx \
src/AllCommands.cxx \ src/AllCommands.cxx \
src/QueueCommands.cxx src/QueueCommands.hxx \ src/QueueCommands.cxx src/QueueCommands.hxx \
src/PlayerCommands.cxx src/PlayerCommands.hxx \ src/PlayerCommands.cxx src/PlayerCommands.hxx \
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include "StickerCommands.hxx" #include "StickerCommands.hxx"
#include "MessageCommands.hxx" #include "MessageCommands.hxx"
#include "OtherCommands.hxx" #include "OtherCommands.hxx"
#include "CommandError.h"
#include "permission.h" #include "permission.h"
#include "tag.h" #include "tag.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include "config.h" #include "config.h"
#include "CommandError.h" #include "CommandError.hxx"
#include "db_error.h" #include "db_error.h"
extern "C" { extern "C" {
......
...@@ -17,16 +17,14 @@ ...@@ -17,16 +17,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_COMMAND_ERROR_H #ifndef MPD_COMMAND_ERROR_HXX
#define MPD_COMMAND_ERROR_H #define MPD_COMMAND_ERROR_HXX
#include "command.h" #include "command.h"
#include "playlist_error.h" #include "playlist_error.h"
#include <glib.h> #include <glib.h>
G_BEGIN_DECLS
enum command_return enum command_return
print_playlist_result(struct client *client, enum playlist_result result); print_playlist_result(struct client *client, enum playlist_result result);
...@@ -36,6 +34,4 @@ print_playlist_result(struct client *client, enum playlist_result result); ...@@ -36,6 +34,4 @@ print_playlist_result(struct client *client, enum playlist_result result);
enum command_return enum command_return
print_error(struct client *client, GError *error); print_error(struct client *client, GError *error);
G_END_DECLS
#endif #endif
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "DatabasePlaylist.hxx" #include "DatabasePlaylist.hxx"
#include "DatabasePrint.hxx" #include "DatabasePrint.hxx"
#include "DatabaseSelection.hxx" #include "DatabaseSelection.hxx"
#include "CommandError.h" #include "CommandError.hxx"
#include "client_internal.h" #include "client_internal.h"
#include "tag.h" #include "tag.h"
#include "uri.h" #include "uri.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "OtherCommands.hxx" #include "OtherCommands.hxx"
#include "DatabaseCommands.hxx" #include "DatabaseCommands.hxx"
#include "CommandError.h" #include "CommandError.hxx"
#include "directory.h" #include "directory.h"
#include "song.h" #include "song.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "PlayerCommands.hxx" #include "PlayerCommands.hxx"
#include "CommandError.h" #include "CommandError.hxx"
#include "PlaylistPrint.hxx" #include "PlaylistPrint.hxx"
extern "C" { extern "C" {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "PlaylistCommands.hxx" #include "PlaylistCommands.hxx"
#include "DatabasePlaylist.hxx" #include "DatabasePlaylist.hxx"
#include "CommandError.h" #include "CommandError.hxx"
#include "PlaylistPrint.hxx" #include "PlaylistPrint.hxx"
extern "C" { extern "C" {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "QueueCommands.hxx" #include "QueueCommands.hxx"
#include "CommandError.h" #include "CommandError.hxx"
#include "DatabaseQueue.hxx" #include "DatabaseQueue.hxx"
#include "SongFilter.hxx" #include "SongFilter.hxx"
#include "PlaylistPrint.hxx" #include "PlaylistPrint.hxx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment