diff options
author | Max Kellermann <max@duempel.org> | 2013-01-16 21:46:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-16 21:46:13 +0100 |
commit | cab84af72e373acca0e88d9b407aa97796c083e0 (patch) | |
tree | b2b857febd150cf1cf76227b72919c0d17a6776e /src/OtherCommands.cxx | |
parent | 74500eaccac3fd906489a93e969b67440ae41f5c (diff) | |
download | mpd-cab84af72e373acca0e88d9b407aa97796c083e0.tar.gz mpd-cab84af72e373acca0e88d9b407aa97796c083e0.tar.xz mpd-cab84af72e373acca0e88d9b407aa97796c083e0.zip |
Client: move "idle" functions into the class
Diffstat (limited to 'src/OtherCommands.cxx')
-rw-r--r-- | src/OtherCommands.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/OtherCommands.cxx b/src/OtherCommands.cxx index b8cc36cc5..7aa162b3a 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; } |