Commit 0e06ae50 authored by Bernhard Kölbl's avatar Bernhard Kölbl Committed by Alexandre Julliard

include/windows.media.speechrecognition.idl: Add SpeechRecognitionListConstraint class.

And its dependencies. Signed-off-by: 's avatarBernhard Kölbl <besentv@gmail.com> Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d8a6fc03
......@@ -46,6 +46,8 @@ namespace Windows {
interface ISpeechRecognitionConstraint;
interface ISpeechRecognitionHypothesis;
interface ISpeechRecognitionHypothesisGeneratedEventArgs;
interface ISpeechRecognitionListConstraint;
interface ISpeechRecognitionListConstraintFactory;
interface ISpeechRecognitionQualityDegradingEventArgs;
interface ISpeechRecognitionResult;
interface ISpeechRecognitionResult2;
......@@ -64,6 +66,7 @@ namespace Windows {
runtimeclass SpeechRecognitionCompilationResult;
runtimeclass SpeechRecognitionHypothesis;
runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs;
runtimeclass SpeechRecognitionListConstraint;
runtimeclass SpeechRecognitionQualityDegradingEventArgs;
runtimeclass SpeechRecognitionResult;
runtimeclass SpeechRecognitionSemanticInterpretation;
......@@ -275,6 +278,35 @@ namespace Windows {
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint),
uuid(09c487e9-e4ad-4526-81f2-4946fb481d98)
]
interface ISpeechRecognitionListConstraint : IInspectable
requires
Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
{
[propget] HRESULT Commands([out, retval] Windows.Foundation.Collections.IVector<HSTRING> **value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint),
uuid(40f3cdc7-562a-426a-9f3b-3b4e282be1d5)
]
interface ISpeechRecognitionListConstraintFactory : IInspectable
{
HRESULT Create(
[in] Windows.Foundation.Collections.IIterable<HSTRING> *commands,
[out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint **listconstraint);
HRESULT CreateWithTag(
[in] Windows.Foundation.Collections.IIterable<HSTRING> *commands,
[in] HSTRING tag,
[out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint **listconstraint);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs),
uuid(4fe24105-8c3a-4c7e-8d0a-5bd4f5b14ad8)
]
......@@ -499,6 +531,17 @@ namespace Windows {
}
[
activatable(Windows.Media.SpeechRecognition.ISpeechRecognitionListConstraintFactory, Windows.Foundation.UniversalApiContract, 1.0),
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass SpeechRecognitionListConstraint
{
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionListConstraint;
interface Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint;
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment