X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.hpp;h=d8c9b88b4a70865ef7c4aab1ee2a0710095adacb;hb=2357c437b260d0d8cb927e6878f1226bfafb9d0b;hp=b6b209f144e3f4a1535bdef42aaa8a6d8871484b;hpb=afd5c59cdfeeb142feb57afe7d3d47f5f83fda45;p=apps%2Fagl-service-windowmanager-2017.git diff --git a/src/layout.hpp b/src/layout.hpp index b6b209f..d8c9b88 100644 --- a/src/layout.hpp +++ b/src/layout.hpp @@ -21,23 +21,26 @@ #include #include "result.hpp" -#include "wayland.hpp" -namespace wm { +namespace wm +{ -struct LayoutState { - int main{-1}; - int sub{-1}; +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 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