aboutsummaryrefslogtreecommitdiffstats
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)
downloadmpd-cab84af72e373acca0e88d9b407aa97796c083e0.tar.gz
mpd-cab84af72e373acca0e88d9b407aa97796c083e0.tar.xz
mpd-cab84af72e373acca0e88d9b407aa97796c083e0.zip
Client: move "idle" functions into the class
Diffstat (limited to '')
-rw-r--r--src/ClientInternal.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx
index dee5d9c71..9384b84ee 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,