From 8a22d287663e2f905ac3c1f14a5fa9df1a632073 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 18 Dec 2020 14:47:39 +0530 Subject: [PATCH] include: Add DEFINE_ENUM_FLAG_OPERATORS macro in directmanipulation.idl. Signed-off-by: Biswapriyo Nath Signed-off-by: Alexandre Julliard --- include/directmanipulation.idl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/directmanipulation.idl b/include/directmanipulation.idl index f8bd55c48b1..b478b16a6b8 100644 --- a/include/directmanipulation.idl +++ b/include/directmanipulation.idl @@ -31,6 +31,7 @@ typedef enum DIRECTMANIPULATION_HITTEST_TYPE DIRECTMANIPULATION_HITTEST_TYPE_SYNCHRONOUS = 0x00000001, DIRECTMANIPULATION_HITTEST_TYPE_AUTO_SYNCHRONOUS = 0x00000002 } DIRECTMANIPULATION_HITTEST_TYPE; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_HITTEST_TYPE)") typedef enum DIRECTMANIPULATION_STATUS { @@ -52,6 +53,7 @@ typedef enum DIRECTMANIPULATION_VIEWPORT_OPTIONS DIRECTMANIPULATION_VIEWPORT_OPTIONS_EXPLICITHITTEST = 0x00000008, DIRECTMANIPULATION_VIEWPORT_OPTIONS_DISABLEPIXELSNAPPING = 0x00000010, } DIRECTMANIPULATION_VIEWPORT_OPTIONS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_VIEWPORT_OPTIONS)") typedef enum DIRECTMANIPULATION_CONFIGURATION { @@ -65,6 +67,7 @@ typedef enum DIRECTMANIPULATION_CONFIGURATION DIRECTMANIPULATION_CONFIGURATION_RAILS_X = 0x00000100, DIRECTMANIPULATION_CONFIGURATION_RAILS_Y = 0x00000200, } DIRECTMANIPULATION_CONFIGURATION; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_CONFIGURATION)") typedef enum DIRECTMANIPULATION_GESTURE_CONFIGURATION { @@ -74,6 +77,7 @@ typedef enum DIRECTMANIPULATION_GESTURE_CONFIGURATION DIRECTMANIPULATION_GESTURE_CROSS_SLIDE_HORIZONTAL = 0x00000010, DIRECTMANIPULATION_GESTURE_PINCH_ZOOM = 0x00000020, } DIRECTMANIPULATION_GESTURE_CONFIGURATION; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_GESTURE_CONFIGURATION)") typedef enum DIRECTMANIPULATION_MOTION_TYPES { @@ -87,6 +91,7 @@ typedef enum DIRECTMANIPULATION_MOTION_TYPES DIRECTMANIPULATION_MOTION_ZOOM | DIRECTMANIPULATION_MOTION_CENTERX | DIRECTMANIPULATION_MOTION_CENTERY } DIRECTMANIPULATION_MOTION_TYPES; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_MOTION_TYPES)") typedef enum DIRECTMANIPULATION_SNAPPOINT_TYPE { @@ -102,6 +107,7 @@ typedef enum DIRECTMANIPULATION_SNAPPOINT_COORDINATE DIRECTMANIPULATION_COORDINATE_ORIGIN = 0x00000001, DIRECTMANIPULATION_COORDINATE_MIRRORED = 0x00000010 } DIRECTMANIPULATION_SNAPPOINT_COORDINATE; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_SNAPPOINT_COORDINATE)") typedef enum DIRECTMANIPULATION_HORIZONTALALIGNMENT { @@ -111,6 +117,7 @@ typedef enum DIRECTMANIPULATION_HORIZONTALALIGNMENT DIRECTMANIPULATION_HORIZONTALALIGNMENT_RIGHT = 0x00000004, DIRECTMANIPULATION_HORIZONTALALIGNMENT_UNLOCKCENTER = 0x00000008 } DIRECTMANIPULATION_HORIZONTALALIGNMENT; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_HORIZONTALALIGNMENT)") typedef enum DIRECTMANIPULATION_VERTICALALIGNMENT { @@ -120,6 +127,7 @@ typedef enum DIRECTMANIPULATION_VERTICALALIGNMENT DIRECTMANIPULATION_VERTICALALIGNMENT_BOTTOM = 0x00000004, DIRECTMANIPULATION_VERTICALALIGNMENT_UNLOCKCENTER = 0x00000008 } DIRECTMANIPULATION_VERTICALALIGNMENT; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DIRECTMANIPULATION_VERTICALALIGNMENT)") typedef enum DIRECTMANIPULATION_INPUT_MODE {