diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:38 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:38 +0200 |
commit | ef6f72786ab7c7791a0dce9b63412b04b9351ddb (patch) | |
tree | 2437c97a36e1babcefc1571a93a0207b5cadb756 /src/policy.hpp | |
parent | 6946f6008999f9aaffdbc3043afbfe17fe04fc49 (diff) |
policy: add a simple policy stub, broke some layouting tho
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/policy.hpp')
-rw-r--r-- | src/policy.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/policy.hpp b/src/policy.hpp new file mode 100644 index 0000000..3c0a234 --- /dev/null +++ b/src/policy.hpp @@ -0,0 +1,22 @@ +// +// Created by m on 9/10/17. +// + +#ifndef TMCAGLWM_POLICY_HPP +#define TMCAGLWM_POLICY_HPP + +#include "layout.hpp" + +namespace wm { + +class Policy { +public: + bool layout_is_valid(LayoutState const & /* layout */) { + // We do not check for policy currently + return true; + } +}; + +} // namespace wm + +#endif //TMCAGLWM_POLICY_HPP |