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/OutputCommands.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 '')
-rw-r--r-- | src/OutputCommands.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/OutputCommands.hxx b/src/OutputCommands.hxx index c0d3b9030..ac3c0211a 100644 --- a/src/OutputCommands.hxx +++ b/src/OutputCommands.hxx @@ -20,20 +20,20 @@ #ifndef MPD_OUTPUT_COMMANDS_HXX #define MPD_OUTPUT_COMMANDS_HXX -#include "command.h" +#include "CommandResult.hxx" class Client; -enum command_return +CommandResult handle_enableoutput(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_disableoutput(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_toggleoutput(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_devices(Client &client, int argc, char *argv[]); #endif |