recover application
[apps/agl-service-homescreen.git] / src / hs-proxy.cpp
index 1a237d7..718f6ff 100644 (file)
@@ -126,17 +126,17 @@ int HS_AfmMainProxy::detail(afb_api_t api, const std::string &id, struct json_ob
  * start application
  *
  * #### Parameters
- *  - request : the request
+ *  - api : the api
  *  - id : the application id liked "dashboard@0.1"
  *
  * #### Return
  *  None
  *
  */
-void HS_AfmMainProxy::start(afb_req_t request, const std::string &id)
+void HS_AfmMainProxy::start(afb_api_t api, const std::string &id)
 {
     struct json_object *args = json_object_new_string(id.c_str());
-    api_call(request->api, _afm_main, __FUNCTION__, args);
+    api_call(api, _afm_main, __FUNCTION__, args);
 }
 
 /* -------------------------------------HS_WmProxy------------------------------------------ */