Commit 92973203 authored by Vijay Kiran Kamuju's avatar Vijay Kiran Kamuju Committed by Alexandre Julliard

include: Add Windows.UI.ViewManagement.UIViewSettings definitions.

parent 00a541d6
......@@ -37,6 +37,7 @@ namespace Windows.UI.ViewManagement
typedef enum HandPreference HandPreference;
typedef enum UIColorType UIColorType;
typedef enum UIElementType UIElementType;
typedef enum UserInteractionMode UserInteractionMode;
interface IUISettings;
interface IUISettings2;
......@@ -45,6 +46,9 @@ namespace Windows.UI.ViewManagement
interface IUISettings5;
interface IUISettings6;
interface IUIViewSettings;
interface IUIViewSettingsStatics;
interface IInputPane;
interface IInputPane2;
interface IInputPaneControl;
......@@ -53,6 +57,7 @@ namespace Windows.UI.ViewManagement
interface IInputPaneStatics2;
runtimeclass UISettings;
runtimeclass UIViewSettings;
runtimeclass InputPane;
runtimeclass InputPaneVisibilityEventArgs;
......@@ -134,6 +139,15 @@ namespace Windows.UI.ViewManagement
};
[
contract(Windows.Foundation.UniversalApiContract, 1.0)
]
enum UserInteractionMode
{
Mouse = 0,
Touch = 1,
};
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.UI.ViewManagement.UISettings),
uuid(85361600-1c63-4627-bcb1-3a89e0bc9c55)
......@@ -183,6 +197,26 @@ namespace Windows.UI.ViewManagement
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.UI.ViewManagement.UIViewSettings),
uuid(c63657f6-8850-470d-88f8-455e16ea2c26)
]
interface IUIViewSettings : IInspectable
{
[propget] HRESULT UserInteractionMode([out, retval] Windows.UI.ViewManagement.UserInteractionMode *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.UI.ViewManagement.UIViewSettings),
uuid(595c97a5-f8f6-41cf-b0fb-aacdb81fd5f6)
]
interface IUIViewSettingsStatics : IInspectable
{
HRESULT GetForCurrentView([out, retval] Windows.UI.ViewManagement.UIViewSettings **current);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.UI.ViewManagement.InputPane),
uuid(640ada70-06f3-4c87-a678-9829c9127c28)
]
......@@ -262,6 +296,16 @@ namespace Windows.UI.ViewManagement
}
[
static(Windows.UI.ViewManagement.IUIViewSettingsStatics, Windows.Foundation.UniversalApiContract, 1.0),
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass UIViewSettings
{
[default] interface Windows.UI.ViewManagement.IUIViewSettings;
}
[
static(Windows.UI.ViewManagement.IInputPaneStatics, Windows.Foundation.UniversalApiContract, 1.0),
static(Windows.UI.ViewManagement.IInputPaneStatics2, Windows.Foundation.UniversalApiContract, 8.0),
contract(Windows.Foundation.UniversalApiContract, 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