summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmre Ucan <eucan@de.adit-jv.com>2015-07-02 13:40:08 +0200
committerNobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>2015-07-17 09:09:36 +0900
commit63c556fcdee150ac0d1efd8bc9861868ff8eb6f0 (patch)
tree414ffa7f41ffb0aeb1347e767db0d939cc1a16d6
parenteedd8981b3f9c55c25492b0a3a93a3f716c3adc3 (diff)
downloadwayland-ivi-extension-63c556fcdee150ac0d1efd8bc9861868ff8eb6f0.tar.gz
ilmControl: add notification data to wayland_context
Notification callback function and user_data are included to the wayland_context, so that they will be available at event handlers of ivi_controller_surface_listeners and ivi_controller_layer_listeners. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
-rw-r--r--ivi-layermanagement-api/ilmControl/include/ilm_control_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ivi-layermanagement-api/ilmControl/include/ilm_control_platform.h b/ivi-layermanagement-api/ilmControl/include/ilm_control_platform.h
index 29afc8f..c3b3670 100644
--- a/ivi-layermanagement-api/ilmControl/include/ilm_control_platform.h
+++ b/ivi-layermanagement-api/ilmControl/include/ilm_control_platform.h
@@ -148,6 +148,8 @@ struct wayland_context {
struct wl_list list_layer;
struct wl_list list_screen;
struct wl_list list_seat;
+ notificationFunc notification;
+ void *notification_user_data;
struct ivi_input *input_controller;
};