diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
commit | ff626ac76357940b2f0ac5cb243a68ac13df0f8a (patch) | |
tree | 493888a28950f75f5e254c0ded9dc9703ee83dc3 /src/PlayerCommands.hxx | |
parent | 59f8144c50765189594d5932fc25869f9ea6e265 (diff) | |
download | mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip |
*: use references instead of pointers
Diffstat (limited to '')
-rw-r--r-- | src/PlayerCommands.hxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/PlayerCommands.hxx b/src/PlayerCommands.hxx index a2fed5853..6bef71a01 100644 --- a/src/PlayerCommands.hxx +++ b/src/PlayerCommands.hxx @@ -25,66 +25,66 @@ class Client; enum command_return -handle_play(Client *client, int argc, char *argv[]); +handle_play(Client &client, int argc, char *argv[]); enum command_return -handle_playid(Client *client, int argc, char *argv[]); +handle_playid(Client &client, int argc, char *argv[]); enum command_return -handle_stop(Client *client, int argc, char *argv[]); +handle_stop(Client &client, int argc, char *argv[]); enum command_return -handle_currentsong(Client *client, int argc, char *argv[]); +handle_currentsong(Client &client, int argc, char *argv[]); enum command_return -handle_pause(Client *client, int argc, char *argv[]); +handle_pause(Client &client, int argc, char *argv[]); enum command_return -handle_status(Client *client, int argc, char *argv[]); +handle_status(Client &client, int argc, char *argv[]); enum command_return -handle_next(Client *client, int argc, char *argv[]); +handle_next(Client &client, int argc, char *argv[]); enum command_return -handle_previous(Client *client, int argc, char *avg[]); +handle_previous(Client &client, int argc, char *avg[]); enum command_return -handle_repeat(Client *client, int argc, char *argv[]); +handle_repeat(Client &client, int argc, char *argv[]); enum command_return -handle_single(Client *client, int argc, char *argv[]); +handle_single(Client &client, int argc, char *argv[]); enum command_return -handle_consume(Client *client, int argc, char *argv[]); +handle_consume(Client &client, int argc, char *argv[]); enum command_return -handle_random(Client *client, int argc, char *argv[]); +handle_random(Client &client, int argc, char *argv[]); enum command_return -handle_clearerror(Client *client, int argc, char *argv[]); +handle_clearerror(Client &client, int argc, char *argv[]); enum command_return -handle_seek(Client *client, int argc, char *argv[]); +handle_seek(Client &client, int argc, char *argv[]); enum command_return -handle_seekid(Client *client, int argc, char *argv[]); +handle_seekid(Client &client, int argc, char *argv[]); enum command_return -handle_seekcur(Client *client, int argc, char *argv[]); +handle_seekcur(Client &client, int argc, char *argv[]); enum command_return -handle_crossfade(Client *client, int argc, char *argv[]); +handle_crossfade(Client &client, int argc, char *argv[]); enum command_return -handle_mixrampdb(Client *client, int argc, char *argv[]); +handle_mixrampdb(Client &client, int argc, char *argv[]); enum command_return -handle_mixrampdelay(Client *client, int argc, char *argv[]); +handle_mixrampdelay(Client &client, int argc, char *argv[]); enum command_return -handle_replay_gain_mode(Client *client, int argc, char *argv[]); +handle_replay_gain_mode(Client &client, int argc, char *argv[]); enum command_return -handle_replay_gain_status(Client *client, int argc, char *argv[]); +handle_replay_gain_status(Client &client, int argc, char *argv[]); #endif |