Commit 26eb50e4 authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Alexandre Julliard

include: Add IDirectManipulationInteractionEventHandler declaration in directmanipulation.idl.

parent 6992b762
......@@ -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,
......@@ -391,6 +402,18 @@ interface IDirectManipulationCompositor2 : IDirectManipulationCompositor
}
[
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)
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment