Improvement:a client instance only call afb_req_subscribe once
[apps/agl-service-homescreen.git] / src / hs-client.h
index 16fa39c..b06a717 100644 (file)
@@ -47,6 +47,7 @@ private:
 private:
     std::string my_id;
     afb_event_t my_event;
+    bool subscription = false;
     std::unordered_map<std::string, int> event_list;
 
 };