aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-28 12:33:56 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitf690f1bb1a9736ec13cbe1dad721b0bbc1c3af67 (patch)
treea2356d54b2dd140875ea8d92ee3ed5f69fab9f46 /src/wayland.hpp
parentdd128e02635393974aa490388f9d847885921479 (diff)
app: wire up controller_hooks
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r--src/wayland.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp
index e2a1259..af36142 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -2,7 +2,7 @@
#define WM_WAYLAND_HPP
#include "ivi-controller-client-protocol.h"
-
+#include "controller_hooks.hpp"
#include "util.hpp"
#include <functional>
@@ -263,6 +263,8 @@ struct controller : public wayland_proxy<struct ivi_controller> {
size output_size;
+ wm::controller_hooks *chooks;
+
void add_proxy_to_id_mapping(struct ivi_controller_surface *p, uint32_t id);
void remove_proxy_to_id_mapping(struct ivi_controller_surface *p);
void add_proxy_to_id_mapping(struct ivi_controller_layer *p, uint32_t id);