Biswapriyo Nath : include: Add IDirectManipulationInteractionEventHandler declaration in directmanipulation.idl.
Module: wine Branch: master Commit: 26eb50e4940500280c1c4a81a1cc31a66613fb78 URL: https://gitlab.winehq.org/wine/wine/-/commit/26eb50e4940500280c1c4a81a1cc31a... Author: Biswapriyo Nath <nathbappai(a)gmail.com> Date: Tue Mar 21 12:33:47 2023 +0530 include: Add IDirectManipulationInteractionEventHandler declaration in directmanipulation.idl. 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)
participants (1)
-
Alexandre Julliard