X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fcontroller_hooks.hpp;h=b30c05e607098248dfe2944c6c8591b5e489ae35;hb=refs%2Ftags%2F5.0.0;hp=8618edc0464ad65bd9d53ba8c2f05365d255af2f;hpb=93c2a361b2144d82ec70208225c45afd8f355bd3;p=staging%2Fwindowmanager.git diff --git a/src/controller_hooks.hpp b/src/controller_hooks.hpp index 8618edc..b30c05e 100644 --- a/src/controller_hooks.hpp +++ b/src/controller_hooks.hpp @@ -14,10 +14,6 @@ * limitations under the License. */ -// -// Created by mfritzsc on 7/28/17. -// - #ifndef TMCAGLWM_CONTROLLER_HOOKS_HPP #define TMCAGLWM_CONTROLLER_HOOKS_HPP @@ -33,10 +29,9 @@ struct controller_hooks { struct App *app; void surface_created(uint32_t surface_id); - void surface_removed(uint32_t surface_id); - - void add_task(char const *name, std::function &&); + void surface_visibility(uint32_t surface_id, uint32_t v); + void surface_destination_rectangle(uint32_t surface_id, uint32_t x, uint32_t y, uint32_t w, uint32_t h); }; } // namespace wm