Bernhard Kölbl : include/windows.media.speechrecognition.idl: Add SpeechRecognitionHypothesisGeneratedEventArgs.
Alexandre Julliard
julliard at winehq.org
Mon Feb 28 15:50:29 CST 2022
Module: wine
Branch: master
Commit: c4147e92cfa0cd4d8b8fad460cd9d4ccfb901e66
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c4147e92cfa0cd4d8b8fad460cd9d4ccfb901e66
Author: Bernhard Kölbl <besentv at gmail.com>
Date: Sat Feb 26 09:27:32 2022 +0100
include/windows.media.speechrecognition.idl: Add SpeechRecognitionHypothesisGeneratedEventArgs.
Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/windows.media.speechrecognition.idl | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/include/windows.media.speechrecognition.idl b/include/windows.media.speechrecognition.idl
index d921241ac55..2cd6170ec42 100644
--- a/include/windows.media.speechrecognition.idl
+++ b/include/windows.media.speechrecognition.idl
@@ -42,6 +42,7 @@ namespace Windows {
interface ISpeechContinuousRecognitionSession;
interface ISpeechRecognitionConstraint;
interface ISpeechRecognitionHypothesis;
+ interface ISpeechRecognitionHypothesisGeneratedEventArgs;
interface ISpeechRecognitionResult;
interface ISpeechRecognitionResult2;
interface ISpeechRecognitionSemanticInterpretation;
@@ -49,6 +50,7 @@ namespace Windows {
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
runtimeclass SpeechContinuousRecognitionSession;
runtimeclass SpeechRecognitionHypothesis;
+ runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs;
runtimeclass SpeechRecognitionResult;
runtimeclass SpeechRecognitionSemanticInterpretation;
}
@@ -196,6 +198,16 @@ namespace Windows {
[propget] HRESULT Text([out, retval] HSTRING *value);
}
+ [
+ contract(Windows.Foundation.UniversalApiContract, 1.0),
+ exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs),
+ uuid(55161a7a-8023-5866-411d-1213bb271476)
+ ]
+ interface ISpeechRecognitionHypothesisGeneratedEventArgs : IInspectable
+ {
+ [propget] HRESULT Hypothesis([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis **value);
+ }
+
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionResult),
@@ -274,6 +286,16 @@ namespace Windows {
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesis;
}
+ [
+ contract(Windows.Foundation.UniversalApiContract, 1.0),
+ marshaling_behavior(agile),
+ threading(both)
+ ]
+ runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs
+ {
+ [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesisGeneratedEventArgs;
+ }
+
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
More information about the wine-cvs
mailing list