Client: move "idle" functions into the class

This commit is contained in:
Max Kellermann
2013-01-16 21:46:13 +01:00
parent 74500eacca
commit cab84af72e
5 changed files with 36 additions and 49 deletions

View File

@@ -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,