Add configuration file for each area sizes
[apps/agl-service-windowmanager.git] / src / layout.hpp
index b7a3c28..3430ef3 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.
 #ifndef TMCAGLWM_LAYOUT_HPP
 #define TMCAGLWM_LAYOUT_HPP
 
-#include <cstdint>
-#include <string>
+namespace wm
+{
 
-#include "result.hpp"
-#include "wayland.hpp"
+struct LayoutState
+{
+    int main{-1};
+    int sub{-1};
 
-namespace wm {
+    bool operator==(const LayoutState &b) const
+    {
+        return main == b.main && sub == b.sub;
+    }
 
-struct LayoutState {
-   int main{-1};
-   int sub{-1};
-
-   bool operator==(const LayoutState &b) const {
-      return main == b.main && sub == b.sub;
-   }
-
-   bool operator!=(const LayoutState &b) const {
-      return !(*this == b);
-   }
+    bool operator!=(const LayoutState &b) const
+    {
+        return !(*this == b);
+    }
 };
 
-}  // namespace wm
+} // namespace wm
 
-#endif  // TMCAGLWM_LAYOUT_HPP
+#endif // TMCAGLWM_LAYOUT_HPP