Signed-off-by: Bernhard Kölbl besentv@gmail.com --- include/windows.globalization.idl | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+)
diff --git a/include/windows.globalization.idl b/include/windows.globalization.idl index c08f7bd27d9..c6b7b96f894 100644 --- a/include/windows.globalization.idl +++ b/include/windows.globalization.idl @@ -29,6 +29,9 @@ import "windows.foundation.idl"; namespace Windows { namespace Globalization { typedef enum DayOfWeek DayOfWeek; + interface ILanguage; + interface ILanguageExtensionSubtags; + runtimeclass Language; } }
@@ -45,5 +48,40 @@ namespace Windows { Friday = 5, Saturday = 6 }; + + [ + contract(Windows.Foundation.FoundationContract, 1.0), + exclusiveto(Windows.Globalization.Language), + uuid(ea79a752-f7c2-4265-b1bd-c4dec4e4f080) + ] + interface ILanguage : IInspectable + { + /* Stub! */ + } + + [ + contract(Windows.Foundation.FoundationContract, 1.0), + exclusiveto(Windows.Globalization.Language), + uuid(7d7daf45-368d-4364-852b-dec927037b85) + ] + interface ILanguageExtensionSubtags : IInspectable + { + /* Stub! */ + } + + [ + activatable(Windows.Foundation.UniversalApiContract, 1.0), + contract(Windows.Foundation.FoundationContract, 1.0), + marshaling_behavior(agile), + /* Fixme: ILanguageStatics, ILanguageStatics2 not defined yet: + static(Windows.Globalization.ILanguageStatics, Windows.Foundation.UniversalApiContract, 1.0), + static(Windows.Globalization.ILanguageStatics2, Windows.Foundation.UniversalApiContract, 1.0), */ + threading(both) + ] + runtimeclass Language + { + [contract(Windows.Foundation.UniversalApiContract, 1.0), default] interface Windows.Globalization.ILanguage; + [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.Globalization.ILanguageExtensionSubtags; + } } }