diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-11-23 20:17:56 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-11-23 20:17:56 +0300 |
commit | d233b343940602429c4db1fb1bc2c0192240fd75 (patch) | |
tree | 7875ed9aab2c50d343b2ec3f9fb7257e60ec7279 /server/src/client.cpp | |
parent | 7ef827ea95590c3096f7f6255c5d40eb447d4178 (diff) |
client-qt:
added subscription to download deleted event (handler not implemented yet)
server:
simplified "fire _event" implementation
basic implementation of "add_event_subscription" in client class
Diffstat (limited to 'server/src/client.cpp')
-rw-r--r-- | server/src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/client.cpp b/server/src/client.cpp index fdfd513..20d519a 100644 --- a/server/src/client.cpp +++ b/server/src/client.cpp @@ -28,6 +28,7 @@ client::client(std::string &client_auth_token, server_session *sess) : auth_toke void client::add_event_subscription(event_subscription_base* e) { + subscriptions.push_back(e); } const std::list<event_subscription_base*>& client::get_subscriptions() { |