aboutsummaryrefslogtreecommitdiff
path: root/src/OtherCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-16 21:46:13 +0100
committerMax Kellermann <max@duempel.org>2013-01-16 21:46:13 +0100
commitcab84af72e373acca0e88d9b407aa97796c083e0 (patch)
treeb2b857febd150cf1cf76227b72919c0d17a6776e /src/OtherCommands.cxx
parent74500eaccac3fd906489a93e969b67440ae41f5c (diff)
Client: move "idle" functions into the class
Diffstat (limited to 'src/OtherCommands.cxx')
-rw-r--r--src/OtherCommands.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/OtherCommands.cxx b/src/OtherCommands.cxx
index b8cc36cc..7aa162b3 100644
--- a/src/OtherCommands.cxx
+++ b/src/OtherCommands.cxx
@@ -41,9 +41,8 @@ extern "C" {
#include "Permission.hxx"
#include "PlaylistFile.hxx"
-#include "ClientIdle.hxx"
#include "ClientFile.hxx"
-#include "Client.hxx"
+#include "ClientInternal.hxx"
#include "Idle.hxx"
#ifdef ENABLE_SQLITE
@@ -302,7 +301,7 @@ handle_idle(Client *client,
flags = ~0;
/* enable "idle" mode on this client */
- client_idle_wait(client, flags);
+ client->IdleWait(flags);
return COMMAND_RETURN_IDLE;
}