aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:16 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:16 +0200
commit55377fbd9f0f09fd81c031381dcfc111d867d366 (patch)
treeb2a3bf07df30dae717997589dc91dc1d831b4f7f /src/player.c
parentae0033028595b96352c1c769eaeeeaa0c12bccb9 (diff)
downloadmpd-55377fbd9f0f09fd81c031381dcfc111d867d366.tar.gz
mpd-55377fbd9f0f09fd81c031381dcfc111d867d366.tar.xz
mpd-55377fbd9f0f09fd81c031381dcfc111d867d366.zip
added enum player_queue_state
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.c b/src/player.c
index 59b8c9237..2df6b6cd1 100644
--- a/src/player.c
+++ b/src/player.c
@@ -176,12 +176,12 @@ int queueSong(Song * song)
return -1;
}
-int getPlayerQueueState(void)
+enum player_queue_state getPlayerQueueState(void)
{
return pc.queueState;
}
-void setQueueState(int queueState)
+void setQueueState(enum player_queue_state queueState)
{
pc.queueState = queueState;
notify_signal(&pc.notify);