From f4f5f3f8f86f55c658358ec8b4f120b9fcc64d70 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Fri, 23 Jun 2017 12:24:06 +0200 Subject: [PATCH] wayland: add missing add_layer and clear requests to genivi::screen Signed-off-by: Marcus Fritzsch --- src/wayland.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland.hpp b/src/wayland.hpp index 58c63b1..cb4c8ed 100644 --- a/src/wayland.hpp +++ b/src/wayland.hpp @@ -264,6 +264,9 @@ struct layer : public wayland_proxy, struct screen : public wayland_proxy, controlled_entity { screen(uint32_t i, struct controller *c, struct ivi_controller_screen *p); + + void clear() { ivi_controller_screen_clear(this->proxy); } + void add_layer(layer *l) { ivi_controller_screen_add_layer(this->proxy, l->proxy); } }; // _ _ _ -- 2.16.6