diff options
author | Max Kellermann <max@duempel.org> | 2013-10-20 13:10:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-20 13:10:54 +0200 |
commit | cf4d80fc655a399615529bdd27e0be284754c5ab (patch) | |
tree | 531f5c7af53ce4abdfd9013cbbc9e8056c934e5a /src/CommandError.hxx | |
parent | 8118bc93a85a903ddf95825c1ce7ecbbfff4780b (diff) | |
download | mpd-cf4d80fc655a399615529bdd27e0be284754c5ab.tar.gz mpd-cf4d80fc655a399615529bdd27e0be284754c5ab.tar.xz mpd-cf4d80fc655a399615529bdd27e0be284754c5ab.zip |
command: convert command_return to to a strictly-typed enum
Diffstat (limited to 'src/CommandError.hxx')
-rw-r--r-- | src/CommandError.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CommandError.hxx b/src/CommandError.hxx index 507250500..183797213 100644 --- a/src/CommandError.hxx +++ b/src/CommandError.hxx @@ -20,19 +20,19 @@ #ifndef MPD_COMMAND_ERROR_HXX #define MPD_COMMAND_ERROR_HXX -#include "command.h" +#include "CommandResult.hxx" #include "PlaylistError.hxx" class Client; class Error; -enum command_return +CommandResult print_playlist_result(Client &client, PlaylistResult result); /** * Send the #Error to the client. */ -enum command_return +CommandResult print_error(Client &client, const Error &error); #endif |