X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fcontroller_hooks.hpp;h=b8c142c0d823d56b2e9475604cce421cffb8cf4f;hb=2357c437b260d0d8cb927e6878f1226bfafb9d0b;hp=f5265cae411b790e0a56f7e860fd38ef6ca88455;hpb=d50188f726b15a0ae2777bf2d91ee88836feeac5;p=apps%2Fagl-service-windowmanager-2017.git diff --git a/src/controller_hooks.hpp b/src/controller_hooks.hpp index f5265ca..b8c142c 100644 --- a/src/controller_hooks.hpp +++ b/src/controller_hooks.hpp @@ -21,20 +21,22 @@ #include -namespace wm { +namespace wm +{ struct App; -struct controller_hooks { - struct App *app; +struct controller_hooks +{ + struct App *app; - void surface_created(uint32_t surface_id); + void surface_created(uint32_t surface_id); - void surface_removed(uint32_t surface_id); - 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); + void surface_removed(uint32_t surface_id); + 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 +} // namespace wm -#endif // TMCAGLWM_CONTROLLER_HOOKS_HPP +#endif // TMCAGLWM_CONTROLLER_HOOKS_HPP