aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerCommands.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 17:27:26 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 17:36:28 +0100
commit7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch)
tree7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/PlayerCommands.hxx
parentf2510d60fad1c5811fba3d253ef1c8dabb712304 (diff)
downloadmpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip
Client: rename the struct client to class Client
Diffstat (limited to 'src/PlayerCommands.hxx')
-rw-r--r--src/PlayerCommands.hxx44
1 files changed, 23 insertions, 21 deletions
diff --git a/src/PlayerCommands.hxx b/src/PlayerCommands.hxx
index 40a8a779a..a2fed5853 100644
--- a/src/PlayerCommands.hxx
+++ b/src/PlayerCommands.hxx
@@ -22,67 +22,69 @@
#include "command.h"
+class Client;
+
enum command_return
-handle_play(struct client *client, int argc, char *argv[]);
+handle_play(Client *client, int argc, char *argv[]);
enum command_return
-handle_playid(struct client *client, int argc, char *argv[]);
+handle_playid(Client *client, int argc, char *argv[]);
enum command_return
-handle_stop(struct client *client, int argc, char *argv[]);
+handle_stop(Client *client, int argc, char *argv[]);
enum command_return
-handle_currentsong(struct client *client, int argc, char *argv[]);
+handle_currentsong(Client *client, int argc, char *argv[]);
enum command_return
-handle_pause(struct client *client, int argc, char *argv[]);
+handle_pause(Client *client, int argc, char *argv[]);
enum command_return
-handle_status(struct client *client, int argc, char *argv[]);
+handle_status(Client *client, int argc, char *argv[]);
enum command_return
-handle_next(struct client *client, int argc, char *argv[]);
+handle_next(Client *client, int argc, char *argv[]);
enum command_return
-handle_previous(struct client *client, int argc, char *avg[]);
+handle_previous(Client *client, int argc, char *avg[]);
enum command_return
-handle_repeat(struct client *client, int argc, char *argv[]);
+handle_repeat(Client *client, int argc, char *argv[]);
enum command_return
-handle_single(struct client *client, int argc, char *argv[]);
+handle_single(Client *client, int argc, char *argv[]);
enum command_return
-handle_consume(struct client *client, int argc, char *argv[]);
+handle_consume(Client *client, int argc, char *argv[]);
enum command_return
-handle_random(struct client *client, int argc, char *argv[]);
+handle_random(Client *client, int argc, char *argv[]);
enum command_return
-handle_clearerror(struct client *client, int argc, char *argv[]);
+handle_clearerror(Client *client, int argc, char *argv[]);
enum command_return
-handle_seek(struct client *client, int argc, char *argv[]);
+handle_seek(Client *client, int argc, char *argv[]);
enum command_return
-handle_seekid(struct client *client, int argc, char *argv[]);
+handle_seekid(Client *client, int argc, char *argv[]);
enum command_return
-handle_seekcur(struct client *client, int argc, char *argv[]);
+handle_seekcur(Client *client, int argc, char *argv[]);
enum command_return
-handle_crossfade(struct client *client, int argc, char *argv[]);
+handle_crossfade(Client *client, int argc, char *argv[]);
enum command_return
-handle_mixrampdb(struct client *client, int argc, char *argv[]);
+handle_mixrampdb(Client *client, int argc, char *argv[]);
enum command_return
-handle_mixrampdelay(struct client *client, int argc, char *argv[]);
+handle_mixrampdelay(Client *client, int argc, char *argv[]);
enum command_return
-handle_replay_gain_mode(struct client *client, int argc, char *argv[]);
+handle_replay_gain_mode(Client *client, int argc, char *argv[]);
enum command_return
-handle_replay_gain_status(struct client *client, int argc, char *argv[]);
+handle_replay_gain_status(Client *client, int argc, char *argv[]);
#endif