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/PlayerCommands.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/PlayerCommands.hxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/PlayerCommands.hxx b/src/PlayerCommands.hxx index 6bef71a01..c201c7a57 100644 --- a/src/PlayerCommands.hxx +++ b/src/PlayerCommands.hxx @@ -20,71 +20,71 @@ #ifndef MPD_PLAYER_COMMANDS_HXX #define MPD_PLAYER_COMMANDS_HXX -#include "command.h" +#include "CommandResult.hxx" class Client; -enum command_return +CommandResult handle_play(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_playid(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_stop(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_currentsong(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_pause(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_status(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_next(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_previous(Client &client, int argc, char *avg[]); -enum command_return +CommandResult handle_repeat(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_single(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_consume(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_random(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_clearerror(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_seek(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_seekid(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_seekcur(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_crossfade(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_mixrampdb(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_mixrampdelay(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_replay_gain_mode(Client &client, int argc, char *argv[]); -enum command_return +CommandResult handle_replay_gain_status(Client &client, int argc, char *argv[]); #endif |