Revert "add event tabble"
[apps/agl-service-homescreen.git] / src / hs-client.h
index 16fa39c..32756b2 100644 (file)
@@ -40,6 +40,7 @@ public:
     int unsubscribe(afb_req_t request, const char* event);
     int showNotification(afb_req_t request);
     int showInformation(afb_req_t request);
+    int pushEvent(const char *event, struct json_object *param);
 
 private:
     bool checkEvent(const char* event);
@@ -47,6 +48,7 @@ private:
 private:
     std::string my_id;
     afb_event_t my_event;
+    bool subscription = false;
     std::unordered_map<std::string, int> event_list;
 
 };