Clean: Remove split_layout structure
[apps/agl-service-windowmanager.git] / src / layout.hpp
index b6b209f..3430ef3 100644 (file)
 #ifndef TMCAGLWM_LAYOUT_HPP
 #define TMCAGLWM_LAYOUT_HPP
 
-#include <cstdint>
-#include <string>
-
-#include "result.hpp"
-#include "wayland.hpp"
-
-namespace wm {
-
-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);
-   }
+namespace wm
+{
+
+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);
+    }
 };
 
-}  // namespace wm
+} // namespace wm
 
-#endif  // TMCAGLWM_LAYOUT_HPP
+#endif // TMCAGLWM_LAYOUT_HPP