diff options
author | Max Kellermann <max@duempel.org> | 2013-10-28 10:12:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-28 10:12:33 +0100 |
commit | 5b5675cc121eff6ba4b89719a523bfbe3993ce2f (patch) | |
tree | 92bd72d3f460d184d5769256270c76db0fb6080b /src/PlaylistControl.cxx | |
parent | e699f6781e144d02336856d460a74fbaf988447d (diff) | |
download | mpd-5b5675cc121eff6ba4b89719a523bfbe3993ce2f.tar.gz mpd-5b5675cc121eff6ba4b89719a523bfbe3993ce2f.tar.xz mpd-5b5675cc121eff6ba4b89719a523bfbe3993ce2f.zip |
player_control: rename to PlayerControl
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistControl.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/PlaylistControl.cxx b/src/PlaylistControl.cxx index 97db2a184..2dbd75d6e 100644 --- a/src/PlaylistControl.cxx +++ b/src/PlaylistControl.cxx @@ -30,7 +30,7 @@ #include "Log.hxx" void -playlist::Stop(player_control &pc) +playlist::Stop(PlayerControl &pc) { if (!playing) return; @@ -57,7 +57,7 @@ playlist::Stop(player_control &pc) } PlaylistResult -playlist::PlayPosition(player_control &pc, int song) +playlist::PlayPosition(PlayerControl &pc, int song) { pc.ClearError(); @@ -107,7 +107,7 @@ playlist::PlayPosition(player_control &pc, int song) } PlaylistResult -playlist::PlayId(player_control &pc, int id) +playlist::PlayId(PlayerControl &pc, int id) { if (id == -1) return PlayPosition(pc, id); @@ -120,7 +120,7 @@ playlist::PlayId(player_control &pc, int id) } void -playlist::PlayNext(player_control &pc) +playlist::PlayNext(PlayerControl &pc) { if (!playing) return; @@ -166,7 +166,7 @@ playlist::PlayNext(player_control &pc) } void -playlist::PlayPrevious(player_control &pc) +playlist::PlayPrevious(PlayerControl &pc) { if (!playing) return; @@ -190,7 +190,7 @@ playlist::PlayPrevious(player_control &pc) } PlaylistResult -playlist::SeekSongPosition(player_control &pc, unsigned song, float seek_time) +playlist::SeekSongPosition(PlayerControl &pc, unsigned song, float seek_time) { if (!queue.IsValidPosition(song)) return PlaylistResult::BAD_RANGE; @@ -229,7 +229,7 @@ playlist::SeekSongPosition(player_control &pc, unsigned song, float seek_time) } PlaylistResult -playlist::SeekSongId(player_control &pc, unsigned id, float seek_time) +playlist::SeekSongId(PlayerControl &pc, unsigned id, float seek_time) { int song = queue.IdToPosition(id); if (song < 0) @@ -239,7 +239,7 @@ playlist::SeekSongId(player_control &pc, unsigned id, float seek_time) } PlaylistResult -playlist::SeekCurrent(player_control &pc, float seek_time, bool relative) +playlist::SeekCurrent(PlayerControl &pc, float seek_time, bool relative) { if (!playing) return PlaylistResult::NOT_PLAYING; |