Module: wine Branch: master Commit: 3181c5a0dfdc811d45e0363e3d29cf8e936487f0 URL: https://gitlab.winehq.org/wine/wine/-/commit/3181c5a0dfdc811d45e0363e3d29cf8...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jul 19 10:10:57 2023 +0200
include: Add windows.storage.idl.
---
include/Makefile.in | 1 + include/windows.storage.idl | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in index 5fd20858aee..94b5e77e849 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -842,6 +842,7 @@ SOURCES = \ windows.perception.spatial.surfaces.idl \ windows.security.credentials.idl \ windows.security.cryptography.idl \ + windows.storage.idl \ windows.storage.streams.idl \ windows.system.idl \ windows.system.power.idl \ diff --git a/include/windows.storage.idl b/include/windows.storage.idl new file mode 100644 index 00000000000..de918ddc104 --- /dev/null +++ b/include/windows.storage.idl @@ -0,0 +1,39 @@ +/* + * Copyright 2023 Hans Leidekker for CodeWeavers + * + * 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 "windows.foundation.idl"; + +namespace Windows.Storage { + interface IStorageFolder; + interface IStorageFolderStatics; + + runtimeclass StorageFolder; + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Storage.IStorageFolderStatics, Windows.Foundation.UniversalApiContract, 1.0) + ] + runtimeclass StorageFolder + { + [default] interface Windows.Storage.IStorageFolder; + } +}