Rémi Bernon : include: Use nested namespaces in windows.storage.streams.idl.

Alexandre Julliard julliard at winehq.org
Thu Apr 28 16:15:32 CDT 2022


Module: wine
Branch: master
Commit: 007e51719bb539c511bae174451fd4bd1fcf57e0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=007e51719bb539c511bae174451fd4bd1fcf57e0

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Thu Apr 28 14:20:34 2022 +0200

include: Use nested namespaces in windows.storage.streams.idl.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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
-{
-    namespace Storage
-    {
-        namespace Streams
-        {
-            interface IContentTypeProvider;
-            interface IInputStream;
-            interface IOutputStream;
-            interface IRandomAccessStream;
-            interface IRandomAccessStreamWithContentType;
-        }
-    }
-}
+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
-        {
-            [
-                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
-            {
-            }
-        }
     }
 }




More information about the wine-cvs mailing list