[PATCH 0/1] MR2451: include: Add IDirectManipulationInteractionEventHandler declaration in directmanipulation.idl.
From: Biswapriyo Nath <nathbappai(a)gmail.com> Signed-off-by: Biswapriyo Nath <nathbappai(a)gmail.com> --- include/directmanipulation.idl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/include/directmanipulation.idl b/include/directmanipulation.idl index b478b16a6b8..a48aa640fd4 100644 --- a/include/directmanipulation.idl +++ b/include/directmanipulation.idl @@ -135,6 +135,17 @@ typedef enum DIRECTMANIPULATION_INPUT_MODE DIRECTMANIPULATION_INPUT_MODE_MANUAL } DIRECTMANIPULATION_INPUT_MODE; +typedef enum DIRECTMANIPULATION_INTERACTION_TYPE +{ + DIRECTMANIPULATION_INTERACTION_BEGIN = 0, + DIRECTMANIPULATION_INTERACTION_TYPE_MANIPULATION = 1, + DIRECTMANIPULATION_INTERACTION_TYPE_GESTURE_TAP = 2, + DIRECTMANIPULATION_INTERACTION_TYPE_GESTURE_HOLD = 3, + DIRECTMANIPULATION_INTERACTION_TYPE_GESTURE_CROSS_SLIDE = 4, + DIRECTMANIPULATION_INTERACTION_TYPE_GESTURE_PINCH_ZOOM = 5, + DIRECTMANIPULATION_INTERACTION_END = 100 +} DIRECTMANIPULATION_INTERACTION_TYPE; + [ local, object, @@ -390,6 +401,18 @@ interface IDirectManipulationCompositor2 : IDirectManipulationCompositor [in] IUnknown *parentVisual, [in] IUnknown *childVisual); } +[ + local, + object, + uuid(e43f45b8-42b4-403e-b1f2-273b8f510830), + pointer_default(unique) +] +interface IDirectManipulationInteractionEventHandler : IUnknown +{ + HRESULT OnInteraction([in] IDirectManipulationViewport2 *viewport, + [in] DIRECTMANIPULATION_INTERACTION_TYPE interaction); +} + [ uuid(9fbedf98-f6d8-4e3b-b488-fa66dbf5e9f3), version(1.0) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2451
participants (2)
-
Biswapriyo Nath -
Biswapriyo Nath (@Biswa96)