mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 00:33:38 +00:00
include: Add Missing IUISettings interfaces.
This commit is contained in:
parent
2f06af6ae0
commit
dc32c192c3
|
@ -39,7 +39,11 @@ namespace Windows.UI.ViewManagement
|
|||
typedef enum UIElementType UIElementType;
|
||||
|
||||
interface IUISettings;
|
||||
interface IUISettings2;
|
||||
interface IUISettings3;
|
||||
interface IUISettings4;
|
||||
interface IUISettings5;
|
||||
interface IUISettings6;
|
||||
|
||||
runtimeclass UISettings;
|
||||
|
||||
|
@ -141,6 +145,19 @@ namespace Windows.UI.ViewManagement
|
|||
HRESULT UIElementColor([in] Windows.UI.ViewManagement.UIElementType element, [out, retval] Windows.UI.Color *value);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
exclusiveto(Windows.UI.ViewManagement.UISettings),
|
||||
uuid(bad82401-2721-44f9-bb91-2bb228be442f)
|
||||
]
|
||||
interface IUISettings2 : IInspectable
|
||||
{
|
||||
[propget] HRESULT TextScaleFactor([out, retval] DOUBLE *value);
|
||||
[eventadd] HRESULT TextScaleFactorChanged([in] Windows.Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings *, IInspectable *> *handler,
|
||||
[out, retval] EventRegistrationToken *cookie);
|
||||
[eventremove] HRESULT TextScaleFactorChanged([in] EventRegistrationToken cookie);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
exclusiveto(Windows.UI.ViewManagement.UISettings),
|
||||
|
@ -162,6 +179,7 @@ namespace Windows.UI.ViewManagement
|
|||
runtimeclass UISettings
|
||||
{
|
||||
[default] interface Windows.UI.ViewManagement.IUISettings;
|
||||
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IUISettings2;
|
||||
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.UI.ViewManagement.IUISettings3;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue