From 3f3281868e7516d7535071a01fcde63ed3d73e7e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Oct 2018 21:24:11 +0100 Subject: move WindowStateMask into vclenum.hxx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia9e4d65f769c94f99a2eb23dd93d9d7cc81c398b Reviewed-on: https://gerrit.libreoffice.org/61395 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/vcl/syswin.hxx | 21 +-------------------- include/vcl/vclenum.hxx | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index f9453f106a30..d8dd2f3c245c 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -42,26 +43,6 @@ class TaskPaneList; #define ICON_MATH_DOCUMENT 13 #define ICON_MACROLIBRARY 1 -enum class WindowStateMask { - NONE = 0x0000, - X = 0x0001, - Y = 0x0002, - Width = 0x0004, - Height = 0x0008, - State = 0x0010, - Minimized = 0x0020, - MaximizedX = 0x0100, - MaximizedY = 0x0200, - MaximizedWidth = 0x0400, - MaximizedHeight = 0x0800, - Pos = X | Y, - All = X | Y | Width | Height | MaximizedX | MaximizedY | MaximizedWidth | MaximizedHeight | State | Minimized -}; -namespace o3tl -{ - template<> struct typed_flags : is_typed_flags {}; -} - enum class WindowStateState { NONE = 0x0000, Normal = 0x0001, diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 0cf180cb6bc8..03e2c4661aff 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -118,6 +118,26 @@ namespace o3tl template<> struct typed_flags : is_typed_flags {}; } +enum class WindowStateMask { + NONE = 0x0000, + X = 0x0001, + Y = 0x0002, + Width = 0x0004, + Height = 0x0008, + State = 0x0010, + Minimized = 0x0020, + MaximizedX = 0x0100, + MaximizedY = 0x0200, + MaximizedWidth = 0x0400, + MaximizedHeight = 0x0800, + Pos = X | Y, + All = X | Y | Width | Height | MaximizedX | MaximizedY | MaximizedWidth | MaximizedHeight | State | Minimized +}; +namespace o3tl +{ + template<> struct typed_flags : is_typed_flags {}; +} + enum class TimeFormat { Hour12, Hour24 -- cgit