change hs_recoer
[apps/agl-service-homescreen.git] / src / hs-clientmanager.cpp
index 1f8bc81..83d6bb3 100644 (file)
@@ -187,6 +187,7 @@ int HS_ClientManager::handleRequest(afb_req_t request, const char *verb, const c
                 appid2ctxt[appid] = createClientCtxt(request, appid);
                 HS_Client* client = addClient(request, appid);
                 ret = client->handleRequest(request, "subscribe");
+                registerApplication(appid);
             }
             else {
                 AFB_NOTICE("not exist session");
@@ -231,4 +232,19 @@ int HS_ClientManager::pushEvent(const char *event, struct json_object *param, st
     }
 
     return 0;
+}
+
+/**
+ * register recovered application
+ *
+ * #### Parameters
+ *  - appid : application id
+ *
+ * #### Return
+ * None
+ *
+ */
+void HS_ClientManager::registerApplication(std::string appid)
+{
+
 }
\ No newline at end of file