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

Bernhard Kölbl wine at gitlab.winehq.org
Tue Jun 14 05:08:19 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 | 7 -------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/include/windows.media.idl b/include/windows.media.idl
index 1c0b3e82c1d..2c80e49a92b 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..10fd2f5c897 100644
--- a/include/windows.media.speechsynthesis.idl
+++ b/include/windows.media.speechsynthesis.idl
@@ -54,12 +54,6 @@ namespace Windows {
     }
 }
 
-namespace Windows {
-    namespace Media {
-        interface IMediaMarker;
-    }
-}
-
 namespace Windows {
     namespace Media {
         namespace SpeechSynthesis {
@@ -67,7 +61,6 @@ namespace Windows {
                 interface Windows.Foundation.Collections.IIterator<Windows.Media.SpeechSynthesis.VoiceInformation*>;
                 interface Windows.Foundation.Collections.IIterable<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