aboutsummaryrefslogtreecommitdiff
path: root/src/ClientInternal.hxx
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/ClientInternal.hxx
parent74500eaccac3fd906489a93e969b67440ae41f5c (diff)
Client: move "idle" functions into the class
Diffstat (limited to 'src/ClientInternal.hxx')
-rw-r--r--src/ClientInternal.hxx7
1 files changed, 7 insertions, 0 deletions
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,