aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistCommands.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-20 13:10:54 +0200
committerMax Kellermann <max@duempel.org>2013-10-20 13:10:54 +0200
commitcf4d80fc655a399615529bdd27e0be284754c5ab (patch)
tree531f5c7af53ce4abdfd9013cbbc9e8056c934e5a /src/PlaylistCommands.hxx
parent8118bc93a85a903ddf95825c1ce7ecbbfff4780b (diff)
downloadmpd-cf4d80fc655a399615529bdd27e0be284754c5ab.tar.gz
mpd-cf4d80fc655a399615529bdd27e0be284754c5ab.tar.xz
mpd-cf4d80fc655a399615529bdd27e0be284754c5ab.zip
command: convert command_return to to a strictly-typed enum
Diffstat (limited to 'src/PlaylistCommands.hxx')
-rw-r--r--src/PlaylistCommands.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/PlaylistCommands.hxx b/src/PlaylistCommands.hxx
index a34ee6b32..786f8b89f 100644
--- a/src/PlaylistCommands.hxx
+++ b/src/PlaylistCommands.hxx
@@ -20,41 +20,41 @@
#ifndef MPD_PLAYLIST_COMMANDS_HXX
#define MPD_PLAYLIST_COMMANDS_HXX
-#include "command.h"
+#include "CommandResult.hxx"
class Client;
-enum command_return
+CommandResult
handle_save(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_load(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_listplaylist(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_listplaylistinfo(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_rm(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_rename(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_playlistdelete(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_playlistmove(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_playlistclear(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_playlistadd(Client &client, int argc, char *argv[]);
-enum command_return
+CommandResult
handle_listplaylists(Client &client, int argc, char *argv[]);
#endif