tizen_policy: change version of tizen_policy from 1 to 7. 18/160018/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20171128.072946 submit/tizen_4.0/20171117.084347 tizen_4.0.IoT.p2_release
authorJunSeok, Kim <juns.kim@samsung.com>
Tue, 19 Sep 2017 08:31:44 +0000 (17:31 +0900)
committerJunSeok Kim <juns.kim@samsung.com>
Tue, 14 Nov 2017 06:46:15 +0000 (06:46 +0000)
changing version of tizen_policy from 1 to 7 because of tizen_extensions
version up.
And implements destructor and dumy callback function for higher version.

Change-Id: Ibfad583eee76a10eeb6cc876961d349e24d7f66d

pepper-dali/internal/extensions/tizen-policy.cpp

index 0a0f1ff..95d4a75 100644 (file)
@@ -585,6 +585,48 @@ _tzpol_iface_cb_stack_mode_set(struct wl_client *client, struct wl_resource *res
    (void)mode;
 }
 
+static void
+_tzpol_iface_cb_subsurf_watcher_get(struct wl_client *client, struct wl_resource *res_tzpol, uint32_t id, struct wl_resource *surface)
+{
+   (void)client;
+   (void)res_tzpol;
+   (void)id;
+   (void)surface;
+}
+
+static void
+_tzpol_iface_cb_parent_set(struct wl_client *client, struct wl_resource *res_tzpol, struct wl_resource *child, struct wl_resource *parent)
+{
+   (void)client;
+   (void)res_tzpol;
+   (void)child;
+   (void)parent;
+}
+
+static void
+_tzpol_iface_cb_ack_conformant_region(struct wl_client *client, struct wl_resource *res_tzpol, struct wl_resource *surface, uint32_t serial)
+{
+   (void)client;
+   (void)res_tzpol;
+   (void)surface;
+   (void)serial;
+}
+
+static void
+_tzpol_iface_cb_destroy(struct wl_client *client, struct wl_resource *res_tzpol)
+{
+   wl_resource_destroy(res_tzpol);
+}
+
+static void
+_tzpol_iface_cb_has_video(struct wl_client *client, struct wl_resource *res_tzpol, struct wl_resource *surface, uint32_t has)
+{
+   (void)client;
+   (void)res_tzpol;
+   (void)surface;
+   (void)has;
+}
+
 static const struct tizen_policy_interface _tzpol_iface =
 {
    _tzpol_iface_cb_vis_get,
@@ -621,6 +663,11 @@ static const struct tizen_policy_interface _tzpol_iface =
    _tzpol_iface_cb_floating_mode_unset,
    _tzpol_iface_cb_stack_mode_set,
    _tzpol_iface_cb_activate_above_by_res_id,
+   _tzpol_iface_cb_subsurf_watcher_get,
+   _tzpol_iface_cb_parent_set,
+   _tzpol_iface_cb_ack_conformant_region,
+   _tzpol_iface_cb_destroy,
+   _tzpol_iface_cb_has_video,
 };
 
 static void
@@ -656,7 +703,7 @@ TizenPolicyInit(pepper_compositor_t *comp)
    wl_list_init(&_tzpol_res_list);
 
    wl_disp = pepper_compositor_get_display(comp);
-   _tzpol_global = wl_global_create(wl_disp, &tizen_policy_interface, 1, NULL, _tzpol_cb_bind);
+   _tzpol_global = wl_global_create(wl_disp, &tizen_policy_interface, 7, NULL, _tzpol_cb_bind);
    if (!_tzpol_global)
      {
         DALI_LOG_INFO( gPepperTizenPolicyLogging, Debug::General, "failed to create global for tizen policy" );