1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Add VoiceCommandSet runtimeclass with its dependencies.

This commit is contained in:
Bernhard Kölbl 2023-07-05 15:32:36 +02:00 committed by Alexandre Julliard
parent 4a020b2fb6
commit 9f9f799ad9

View File

@ -60,6 +60,7 @@ namespace Windows {
interface ISpeechRecognizerStatics2;
interface ISpeechRecognizerTimeouts;
interface ISpeechRecognizerUIOptions;
interface IVoiceCommandSet;
runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
runtimeclass SpeechContinuousRecognitionSession;
@ -74,6 +75,7 @@ namespace Windows {
runtimeclass SpeechRecognizerStateChangedEventArgs;
runtimeclass SpeechRecognizerTimeouts;
runtimeclass SpeechRecognizerUIOptions;
runtimeclass VoiceCommandSet;
}
}
}
@ -471,6 +473,22 @@ namespace Windows {
[propput] HRESULT ShowConfirmation([in] boolean value);
}
[
contract(Windows.Phone.PhoneContract, 1.0),
deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition", deprecate, Windows.Phone.PhoneContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.VoiceCommandSet),
uuid(0bedda75-46e6-4b11-a088-5c68632899b5)
]
interface IVoiceCommandSet : IInspectable
{
[deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition", deprecate, Windows.Phone.PhoneContract, 1.0)]
[propget] HRESULT Language([out, retval] HSTRING *value);
[deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition", deprecate, Windows.Phone.PhoneContract, 1.0)]
[propget] HRESULT Name([out, retval] HSTRING *value);
[deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition", deprecate, Windows.Phone.PhoneContract, 1.0)]
HRESULT SetPhraseListAsync([in] HSTRING phrase_list_name, [in] Windows.Foundation.Collections.IIterable<HSTRING> *phrase_list, [out, retval] Windows.Foundation.IAsyncAction **update_action);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile),
@ -610,6 +628,16 @@ namespace Windows {
{
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerUIOptions;
}
[
contract(Windows.Phone.PhoneContract, 1.0),
deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition", deprecate, Windows.Phone.PhoneContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass VoiceCommandSet
{
[default] interface Windows.Media.SpeechRecognition.IVoiceCommandSet;
}
}
}
}