X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-proxy.cpp;h=718f6ff6675719fd13fb84fe11637d159c09f90b;hb=f16e0728c0c9806d9a7c3766028428ed73b5a8cf;hp=1a237d7aeeecb91410be47caadfc76f0295682a9;hpb=0fc1fc7db6ff7cb95ad6cd6f0ef8f2b88f3d08da;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp index 1a237d7..718f6ff 100644 --- a/src/hs-proxy.cpp +++ b/src/hs-proxy.cpp @@ -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------------------------------------------ */