summaryrefslogtreecommitdiffstats
path: root/src/hs-proxy.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-08-19 12:09:09 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-08-19 16:14:36 +0300
commit58eebeba6beb38861add052b9f4641f85906c8f1 (patch)
tree3653a3abb5ea9e5f11534e2b8f70f3eeb4d1f042 /src/hs-proxy.cpp
parent60bc3bb15799c2443bc8074c9cb23317e2784d77 (diff)
hs-proxy: Hand over the hs_instance to AfmMainProxy
Bug-AGL: SPEC-3524 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I80a7bac4244e62f49ab4bf068476ad4e888085f1
Diffstat (limited to 'src/hs-proxy.cpp')
-rw-r--r--src/hs-proxy.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp
index f0ee5f0..a7236b4 100644
--- a/src/hs-proxy.cpp
+++ b/src/hs-proxy.cpp
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include "homescreen.h"
#include "hs-proxy.h"
const char _afm_main[] = "afm-main";
@@ -127,8 +128,8 @@ int HS_AfmMainProxy::detail(afb_api_t api, const std::string &id, struct json_ob
* None
*
*/
-void HS_AfmMainProxy::start(afb_req_t request, const std::string &id)
+void HS_AfmMainProxy::start(struct hs_instance *instance, afb_req_t request, const std::string &id)
{
struct json_object *args = json_object_new_string(id.c_str());
api_call(request->api, _afm_main, __FUNCTION__, args);
-} \ No newline at end of file
+}