From cab84af72e373acca0e88d9b407aa97796c083e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Jan 2013 21:46:13 +0100 Subject: Client: move "idle" functions into the class --- src/OtherCommands.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/OtherCommands.cxx') 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; } -- cgit v1.2.3