From d233b343940602429c4db1fb1bc2c0192240fd75 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 23 Nov 2015 20:17:56 +0300 Subject: 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 --- server/src/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/client.cpp') 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& client::get_subscriptions() { -- cgit v1.2.3