Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
app.hpp app.cpp
result.hpp
afb_binding_api.hpp
- afb_binding_glue.inl layers.cpp layers.hpp)
+ afb_binding_glue.inl layers.cpp layers.hpp controller_hooks.hpp)
target_include_directories(winman
PRIVATE
--- /dev/null
+//
+// Created by mfritzsc on 7/28/17.
+//
+
+#ifndef TMCAGLWM_CONTROLLER_HOOKS_HPP
+#define TMCAGLWM_CONTROLLER_HOOKS_HPP
+
+#include <cstdint>
+
+namespace wm {
+
+struct App;
+
+struct controller_hooks {
+ struct App *app;
+
+ void surface_created(uint32_t surface_id);
+
+ void surface_removed(uint32_t surface_id);
+};
+
+} // namespace wm
+
+#endif //TMCAGLWM_CONTROLLER_HOOKS_HPP