include: Add DEFINE_ENUM_FLAG_OPERATORS macro in directmanipulation.idl.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-12-18 14:47:39 +05:30 committed by Alexandre Julliard
parent d82b6eac57
commit 8a22d28766
1 changed files with 8 additions and 0 deletions

View File

@ -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
{