aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/PlaylistCommands.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-11 22:11:28 +0200
committerMax Kellermann <max@duempel.org>2015-08-11 22:43:10 +0200
commit0f92d021a1dc2992352b635846428229d2c9ffbb (patch)
tree428bb5673728c67cf1fd29672609c9e367ad9da0 /src/command/PlaylistCommands.hxx
parentcbdc3194cc20aa5abcce8b53c44d46a96002ad3a (diff)
downloadmpd-0f92d021a1dc2992352b635846428229d2c9ffbb.tar.gz
mpd-0f92d021a1dc2992352b635846428229d2c9ffbb.tar.xz
mpd-0f92d021a1dc2992352b635846428229d2c9ffbb.zip
command/Request: new struct wrapping ConstBuffer<const char *>
Diffstat (limited to 'src/command/PlaylistCommands.hxx')
-rw-r--r--src/command/PlaylistCommands.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/command/PlaylistCommands.hxx b/src/command/PlaylistCommands.hxx
index 5ac345e57..276d27ad8 100644
--- a/src/command/PlaylistCommands.hxx
+++ b/src/command/PlaylistCommands.hxx
@@ -24,43 +24,43 @@
#include "Compiler.h"
class Client;
-template<typename T> struct ConstBuffer;
+class Request;
gcc_const
bool
playlist_commands_available();
CommandResult
-handle_save(Client &client, ConstBuffer<const char *> args);
+handle_save(Client &client, Request args);
CommandResult
-handle_load(Client &client, ConstBuffer<const char *> args);
+handle_load(Client &client, Request args);
CommandResult
-handle_listplaylist(Client &client, ConstBuffer<const char *> args);
+handle_listplaylist(Client &client, Request args);
CommandResult
-handle_listplaylistinfo(Client &client, ConstBuffer<const char *> args);
+handle_listplaylistinfo(Client &client, Request args);
CommandResult
-handle_rm(Client &client, ConstBuffer<const char *> args);
+handle_rm(Client &client, Request args);
CommandResult
-handle_rename(Client &client, ConstBuffer<const char *> args);
+handle_rename(Client &client, Request args);
CommandResult
-handle_playlistdelete(Client &client, ConstBuffer<const char *> args);
+handle_playlistdelete(Client &client, Request args);
CommandResult
-handle_playlistmove(Client &client, ConstBuffer<const char *> args);
+handle_playlistmove(Client &client, Request args);
CommandResult
-handle_playlistclear(Client &client, ConstBuffer<const char *> args);
+handle_playlistclear(Client &client, Request args);
CommandResult
-handle_playlistadd(Client &client, ConstBuffer<const char *> args);
+handle_playlistadd(Client &client, Request args);
CommandResult
-handle_listplaylists(Client &client, ConstBuffer<const char *> args);
+handle_listplaylists(Client &client, Request args);
#endif