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/ClientInternal.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ClientInternal.hxx') diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx index dee5d9c7..9384b84e 100644 --- a/src/ClientInternal.hxx +++ b/src/ClientInternal.hxx @@ -112,6 +112,13 @@ public: using BufferedSocket::Write; + /** + * Send "idle" response to this client. + */ + void IdleNotify(); + void IdleAdd(unsigned flags); + bool IdleWait(unsigned flags); + private: /* virtual methods from class BufferedSocket */ virtual InputResult OnSocketInput(const void *data, -- cgit v1.2.3