Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-01-13 18:35:32 +0300
committerJulian Eisel <julian@blender.org>2022-01-13 19:01:47 +0300
commit039cc329178e9f7b14f514850479648c38fe1ea3 (patch)
tree6729e63938ab2103606d8048c7a2f52d415e1ec4 /source/blender/windowmanager/WM_types.h
parent1a4f8ab38934891e76a56a5c31be02b934f68162 (diff)
Outliner: Compile all Outliner files in C++
We want to refactor quite some of the Outliner code using C++, this is a logical step to help the transition to a new architecture. Includes plenty of fixes to make this compile without warnings, trying not to change logic. The usual stuff (casts from `void *`, designated initializers, compound literals, etc.).
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r--source/blender/windowmanager/WM_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 3d56303a424..d1f790ce3e2 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -118,6 +118,7 @@ struct wmOperator;
struct wmWindowManager;
#include "BLI_compiler_attrs.h"
+#include "BLI_utildefines.h"
#include "DNA_listBase.h"
#include "DNA_uuid_types.h"
#include "DNA_vec_types.h"
@@ -976,6 +977,7 @@ typedef enum eWM_DragFlags {
WM_DRAG_NOP = 0,
WM_DRAG_FREE_DATA = 1,
} eWM_DragFlags;
+ENUM_OPERATORS(eWM_DragFlags, WM_DRAG_FREE_DATA)
/* NOTE: structs need not exported? */