[PATCH v2 1/2] include: Use nested namespaces in windows.storage.streams.idl.
Rémi Bernon
rbernon at codeweavers.com
Thu Apr 28 07:20:34 CDT 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
Supersedes: 233842
include/windows.storage.streams.idl | 56 +++++++++--------------------
1 file changed, 16 insertions(+), 40 deletions(-)
diff --git a/include/windows.storage.streams.idl b/include/windows.storage.streams.idl
index 59b15761af0..ba58e74687d 100644
--- a/include/windows.storage.streams.idl
+++ b/include/windows.storage.streams.idl
@@ -24,47 +24,23 @@ import "inspectable.idl";
import "eventtoken.idl";
import "windows.foundation.idl";
-namespace Windows
-{
- namespace Foundation
- {
- interface IClosable;
- }
-}
+namespace Windows.Storage.Streams {
+ interface IContentTypeProvider;
+ interface IInputStream;
+ interface IOutputStream;
+ interface IRandomAccessStream;
+ interface IRandomAccessStreamWithContentType;
-namespace Windows
-{
- namespace Storage
+ [
+ uuid(cc254827-4b3d-438f-9232-10c76bc7e038),
+ ]
+ interface IRandomAccessStreamWithContentType : IInspectable
+ requires
+ Windows.Storage.Streams.IRandomAccessStream,
+ Windows.Foundation.IClosable,
+ Windows.Storage.Streams.IInputStream,
+ Windows.Storage.Streams.IOutputStream,
+ Windows.Storage.Streams.IContentTypeProvider
{
- namespace Streams
- {
- interface IContentTypeProvider;
- interface IInputStream;
- interface IOutputStream;
- interface IRandomAccessStream;
- interface IRandomAccessStreamWithContentType;
- }
- }
-}
-
-namespace Windows
-{
- namespace Storage
- {
- namespace Streams
- {
- [
- uuid(cc254827-4b3d-438f-9232-10c76bc7e038),
- ]
- interface IRandomAccessStreamWithContentType : IInspectable
- requires
- Windows.Storage.Streams.IRandomAccessStream,
- Windows.Foundation.IClosable,
- Windows.Storage.Streams.IInputStream,
- Windows.Storage.Streams.IOutputStream,
- Windows.Storage.Streams.IContentTypeProvider
- {
- }
- }
}
}
--
2.35.1
More information about the wine-devel
mailing list