X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.hpp;h=3430ef37258683606528cab8c630d68123833a18;hb=f0d9414627149fe5a2b055e7459619a4fff84da6;hp=b6b209f144e3f4a1535bdef42aaa8a6d8871484b;hpb=afd5c59cdfeeb142feb57afe7d3d47f5f83fda45;p=apps%2Fagl-service-windowmanager.git diff --git a/src/layout.hpp b/src/layout.hpp index b6b209f..3430ef3 100644 --- a/src/layout.hpp +++ b/src/layout.hpp @@ -17,27 +17,25 @@ #ifndef TMCAGLWM_LAYOUT_HPP #define TMCAGLWM_LAYOUT_HPP -#include -#include - -#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