Rename event names to lower camel case
[apps/agl-service-windowmanager.git] / src / controller_hooks.hpp
index 31962ee..f259089 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (c) 2017 TOYOTA MOTOR CORPORATION
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 #include <functional>
 
-namespace wm {
+namespace wm
+{
 
-struct App;
+class WindowManager;
 
-struct controller_hooks {
-   struct App *app;
+struct controller_hooks
+{
+    WindowManager *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