wayland: add missing add_layer and clear requests to genivi::screen
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Fri, 23 Jun 2017 10:24:06 +0000 (12:24 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/wayland.hpp

index 58c63b1..cb4c8ed 100644 (file)
@@ -264,6 +264,9 @@ struct layer : public wayland_proxy<struct ivi_controller_layer>,
 struct screen : public wayland_proxy<struct ivi_controller_screen>,
                 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); }
 };
 
 //                  _             _ _