hs-proxy: Hand over the hs_instance to AfmMainProxy
[apps/agl-service-homescreen.git] / src / hs-proxy.cpp
index f0ee5f0..a7236b4 100644 (file)
@@ -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
+}