[PATCH v5 1/9] include/windows.media.idl: Update file to newer formatting.

Bernhard Kölbl wine at gitlab.winehq.org
Tue Jun 14 05:08:18 CDT 2022


From: Bernhard Kölbl <besentv at gmail.com>

I.e. get rid of nested namespaces and forward declares,
separate attributes with commas and right align pointer declarations.

Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
---
 include/windows.media.idl | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

diff --git a/include/windows.media.idl b/include/windows.media.idl
index fe81c768361..1c0b3e82c1d 100644
--- a/include/windows.media.idl
+++ b/include/windows.media.idl
@@ -23,21 +23,19 @@
 import "inspectable.idl";
 import "windows.foundation.idl";
 
-namespace Windows {
-    namespace Media {
-        interface IMediaControl;
-    }
-}
+namespace Windows.Media
+{
+    interface IMediaControl;
 
-namespace Windows {
-    namespace Media {
-        [contract(Windows.Foundation.UniversalApiContract, 1.0)]
-        [uuid(1803def8-dca5-4b6f-9c20-e3d3c0643625)]
-        interface IMediaMarker : IInspectable
-        {
-            [propget] HRESULT Time([out] [retval] Windows.Foundation.TimeSpan* value);
-            [propget] HRESULT MediaMarkerType([out] [retval] HSTRING* value);
-            [propget] HRESULT Text([out] [retval] HSTRING* value);
-        }
+    [
+        contract(Windows.Foundation.UniversalApiContract, 1.0),
+        uuid(1803def8-dca5-4b6f-9c20-e3d3c0643625)
+    ]
+    interface IMediaMarker : IInspectable
+    {
+        [propget] HRESULT Time([out, retval] Windows.Foundation.TimeSpan *value);
+        [propget] HRESULT MediaMarkerType([out, retval] HSTRING *value);
+        [propget] HRESULT Text([out, retval] HSTRING *value);
     }
+
 }
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/217



More information about the wine-devel mailing list