[PATCH v4 2/9] include/windows.media.idl: Move IMediaMarker collections from speechsynthesis.

Bernhard Kölbl wine at gitlab.winehq.org
Mon Jun 13 13:26:36 CDT 2022


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

Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
---
 include/windows.media.idl                 | 9 +++++++++
 include/windows.media.speechsynthesis.idl | 9 +--------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/include/windows.media.idl b/include/windows.media.idl
index 9847b4caabd..2b1cd3cceaf 100644
--- a/include/windows.media.idl
+++ b/include/windows.media.idl
@@ -26,6 +26,15 @@ import "windows.foundation.idl";
 namespace Windows.Media
 {
     interface IMediaControl;
+    interface IMediaMarker;
+
+    declare
+    {
+        interface Windows.Foundation.Collections.IIterable<Windows.Media.IMediaMarker*>;
+        interface Windows.Foundation.Collections.IIterator<Windows.Media.IMediaMarker*>;
+        interface Windows.Foundation.Collections.IVectorView<Windows.Media.IMediaMarker*>;
+        interface Windows.Foundation.Collections.IVector<Windows.Media.IMediaMarker*>;
+    }
 
     [
         contract(Windows.Foundation.UniversalApiContract, 1.0),
diff --git a/include/windows.media.speechsynthesis.idl b/include/windows.media.speechsynthesis.idl
index b2c86f37137..46e61ee31b4 100644
--- a/include/windows.media.speechsynthesis.idl
+++ b/include/windows.media.speechsynthesis.idl
@@ -54,20 +54,13 @@ namespace Windows {
     }
 }
 
-namespace Windows {
-    namespace Media {
-        interface IMediaMarker;
-    }
-}
-
 namespace Windows {
     namespace Media {
         namespace SpeechSynthesis {
             declare {
-                interface Windows.Foundation.Collections.IIterator<Windows.Media.SpeechSynthesis.VoiceInformation*>;
                 interface Windows.Foundation.Collections.IIterable<Windows.Media.SpeechSynthesis.VoiceInformation*>;
+                interface Windows.Foundation.Collections.IIterator<Windows.Media.SpeechSynthesis.VoiceInformation*>;
                 interface Windows.Foundation.Collections.IVectorView<Windows.Media.SpeechSynthesis.VoiceInformation*>;
-                interface Windows.Foundation.Collections.IVectorView<Windows.Media.IMediaMarker*>;
                 interface Windows.Foundation.IAsyncOperation<Windows.Media.SpeechSynthesis.SpeechSynthesisStream*>;
                 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Media.SpeechSynthesis.SpeechSynthesisStream*>;
             }
-- 
GitLab


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



More information about the wine-devel mailing list