summaryrefslogtreecommitdiff
path: root/server/include/client.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2016-08-11 08:54:06 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2016-08-11 08:54:06 +0300
commit028ddc8e576e78d500f1cba443d7e21401130bb6 (patch)
tree8c3a3b1ae9899eaafb490e776d6407bb16f6213d /server/include/client.h
parentd9ffc27c8b563d76a493ec9eafad56ec5dda13b9 (diff)
server:
event_system: draft implementation of repeated events (we still have none defined by protcol) more appropriate names for some enums and structs messaging: a bit of refactoring in server_session (cut message handler to separate functions for each message type) more appropriate names for some functions curl_downloader: updating downloaded size variable during download process (thread safety required)
Diffstat (limited to 'server/include/client.h')
-rw-r--r--server/include/client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/include/client.h b/server/include/client.h
index e755fac..5aa4fb4 100644
--- a/server/include/client.h
+++ b/server/include/client.h
@@ -23,9 +23,10 @@
#include <string>
#include <list>
-#include "event_subscription_base.h"
class server_session;
+class event_subscription_base;
+class client_event_subscription_request;
class client
{
@@ -33,6 +34,7 @@ class client
client(std::string &client_auth_token, server_session *sess = nullptr);
void add_event_subscription(event_subscription_base* e);
const std::list<event_subscription_base*>& get_subscriptions();
+ void fire_event(client_event_subscription_request* e);
virtual ~client();
protected:
private: