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