X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland.hpp;h=a98c36d630cc6cb6b539e3e0920d39757c816b37;hb=d34b46aae11efe3f5060067d1f2ee3ed3eac2b7e;hp=58c63b18895dc6d42e00dc230ca327f876f0611c;hpb=342cead0ff9a95479270de381c3cd14ea7a95c0b;p=staging%2Fwindowmanager.git diff --git a/src/wayland.hpp b/src/wayland.hpp index 58c63b1..a98c36d 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); } }; // _ _ _ @@ -281,6 +284,8 @@ struct controller : public wayland_proxy { name_task_pair; std::vector pending; + size output_size; + void add_task(char const *name, std::function &&f) { this->pending.emplace_back(std::make_pair(name, f));