Module: wine Branch: master Commit: 6637e1d8faf3b7dfbccf86b6af5a1bcfefe10aa8 URL: https://gitlab.winehq.org/wine/wine/-/commit/6637e1d8faf3b7dfbccf86b6af5a1bc...
Author: Mohamad Al-Jaf mohamadaljaf@gmail.com Date: Sun Jan 29 23:05:42 2023 -0500
include: Add windows.ui.composition.idl file.
Needed for mingw Firefox build.
---
include/Makefile.in | 1 + include/windows.ui.composition.idl | 73 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in index dcf6c016313..f52314e745d 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -837,6 +837,7 @@ SOURCES = \ windows.system.profile.systemmanufacturers.idl \ windows.system.threading.idl \ windows.system.userprofile.idl \ + windows.ui.composition.idl \ windows.ui.core.idl \ windows.ui.idl \ windows.ui.viewmanagement.idl \ diff --git a/include/windows.ui.composition.idl b/include/windows.ui.composition.idl new file mode 100644 index 00000000000..304b9c4e042 --- /dev/null +++ b/include/windows.ui.composition.idl @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2023 Mohamad Al-Jaf + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifdef __WIDL__ +#pragma winrt ns_prefix +#endif + +import "inspectable.idl"; +import "asyncinfo.idl"; +import "eventtoken.idl"; +import "windowscontracts.idl"; +import "windows.foundation.idl"; +import "windows.foundation.numerics.idl"; +/* import "windows.graphics.idl"; */ +import "windows.graphics.directx.idl"; +import "windows.graphics.effects.idl"; +import "windows.system.idl"; +import "windows.ui.idl"; +import "windows.ui.core.idl"; + +namespace Windows.UI.Composition { + interface ICompositionEasingFunction; + interface ICompositionEasingFunctionFactory; + interface ICompositionEasingFunctionStatics; + + runtimeclass CompositionEasingFunction; + runtimeclass CompositionObject; + + [ + contract(Windows.Foundation.UniversalApiContract, 2.0), + exclusiveto(Windows.UI.Composition.CompositionEasingFunction), + uuid(5145e356-bf79-4ea8-8cc2-6b5b472e6c9a) + ] + interface ICompositionEasingFunction : IInspectable + { + } + + [ + contract(Windows.Foundation.UniversalApiContract, 2.0), + exclusiveto(Windows.UI.Composition.CompositionEasingFunction), + uuid(60840774-3da0-4949-8200-7206c00190a0) + ] + interface ICompositionEasingFunctionFactory : IInspectable + { + } + + [ + composable(Windows.UI.Composition.ICompositionEasingFunctionFactory, public, Windows.Foundation.UniversalApiContract, 2.0), + contract(Windows.Foundation.UniversalApiContract, 2.0), + marshaling_behavior(agile), + static(Windows.UI.Composition.ICompositionEasingFunctionStatics, Windows.Foundation.UniversalApiContract, 12.0), + threading(both) + ] + runtimeclass CompositionEasingFunction : Windows.UI.Composition.CompositionObject + { + [default] interface Windows.UI.Composition.ICompositionEasingFunction; + } +}