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