Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add .gitignore
[apps/agl-service-windowmanager.git]
/
src
/
layout.hpp
diff --git
a/src/layout.hpp
b/src/layout.hpp
index
b7a3c28
..
3430ef3
100644
(file)
--- 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.
*
* 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
#ifndef TMCAGLWM_LAYOUT_HPP
#define TMCAGLWM_LAYOUT_HPP
-#include <cstdint>
-#include <string>
+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