include: Add Windows.Media.SpeechSynthesis.SpeechSynthesizer runtimeclass.
As an illustration for the newly supported attributes. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
daba929a52
commit
02edba0f9d
|
@ -24,10 +24,16 @@ import "inspectable.idl";
|
|||
import "windows.foundation.idl";
|
||||
|
||||
namespace Windows {
|
||||
namespace Foundation {
|
||||
interface IClosable;
|
||||
}
|
||||
namespace Media {
|
||||
namespace SpeechSynthesis {
|
||||
typedef enum VoiceGender VoiceGender;
|
||||
interface IInstalledVoicesStatic;
|
||||
interface IInstalledVoicesStatic2;
|
||||
interface ISpeechSynthesizer;
|
||||
interface ISpeechSynthesizer2;
|
||||
interface IVoiceInformation;
|
||||
runtimeclass VoiceInformation;
|
||||
}
|
||||
|
@ -66,6 +72,20 @@ namespace Windows {
|
|||
{
|
||||
[default] interface Windows.Media.SpeechSynthesis.IVoiceInformation;
|
||||
}
|
||||
|
||||
[
|
||||
activatable(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
marshaling_behavior(agile),
|
||||
static(Windows.Media.SpeechSynthesis.IInstalledVoicesStatic, Windows.Foundation.UniversalApiContract, 1.0),
|
||||
static(Windows.Media.SpeechSynthesis.IInstalledVoicesStatic2, Windows.Foundation.UniversalApiContract, 5.0)
|
||||
]
|
||||
runtimeclass SpeechSynthesizer
|
||||
{
|
||||
[default] interface Windows.Media.SpeechSynthesis.ISpeechSynthesizer;
|
||||
interface Windows.Foundation.IClosable;
|
||||
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.Media.SpeechSynthesis.ISpeechSynthesizer2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue