mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
769 lines
33 KiB
C++
769 lines
33 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT
|
|
// v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Microsoft_Windows_AppNotifications_Builder_0_H
|
|
#define WINRT_Microsoft_Windows_AppNotifications_Builder_0_H
|
|
WINRT_EXPORT namespace winrt::Microsoft::Windows::AppNotifications {
|
|
struct AppNotification;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Windows::Foundation { struct Uri; }
|
|
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections {
|
|
template <typename K, typename V>
|
|
struct WINRT_IMPL_EMPTY_BASES IMap;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Microsoft::Windows::AppNotifications::Builder {
|
|
enum class AppNotificationAudioLooping : int32_t {
|
|
None = 0,
|
|
Loop = 1,
|
|
};
|
|
enum class AppNotificationButtonStyle : int32_t {
|
|
Default = 0,
|
|
Success = 1,
|
|
Critical = 2,
|
|
};
|
|
enum class AppNotificationDuration : int32_t {
|
|
Default = 0,
|
|
Long = 1,
|
|
};
|
|
enum class AppNotificationImageCrop : int32_t {
|
|
Default = 0,
|
|
Circle = 1,
|
|
};
|
|
enum class AppNotificationScenario : int32_t {
|
|
Default = 0,
|
|
Reminder = 1,
|
|
Alarm = 2,
|
|
IncomingCall = 3,
|
|
Urgent = 4,
|
|
};
|
|
enum class AppNotificationSoundEvent : int32_t {
|
|
Default = 0,
|
|
IM = 1,
|
|
Mail = 2,
|
|
Reminder = 3,
|
|
SMS = 4,
|
|
Alarm = 5,
|
|
Alarm2 = 6,
|
|
Alarm3 = 7,
|
|
Alarm4 = 8,
|
|
Alarm5 = 9,
|
|
Alarm6 = 10,
|
|
Alarm7 = 11,
|
|
Alarm8 = 12,
|
|
Alarm9 = 13,
|
|
Alarm10 = 14,
|
|
Call = 15,
|
|
Call2 = 16,
|
|
Call3 = 17,
|
|
Call4 = 18,
|
|
Call5 = 19,
|
|
Call6 = 20,
|
|
Call7 = 21,
|
|
Call8 = 22,
|
|
Call9 = 23,
|
|
Call10 = 24,
|
|
};
|
|
struct IAppNotificationBuilder;
|
|
struct IAppNotificationBuilderStatics;
|
|
struct IAppNotificationButton;
|
|
struct IAppNotificationButtonFactory;
|
|
struct IAppNotificationButtonStatics;
|
|
struct IAppNotificationComboBox;
|
|
struct IAppNotificationComboBoxFactory;
|
|
struct IAppNotificationProgressBar;
|
|
struct IAppNotificationTextProperties;
|
|
struct AppNotificationBuilder;
|
|
struct AppNotificationButton;
|
|
struct AppNotificationComboBox;
|
|
struct AppNotificationProgressBar;
|
|
struct AppNotificationTextProperties;
|
|
struct AppNotificationBuilderContract;
|
|
}
|
|
namespace winrt::impl {
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilder> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilderStatics> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButton> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButtonFactory> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButtonStatics> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBox> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBoxFactory> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationProgressBar> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationTextProperties> {
|
|
using type = interface_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationBuilder> {
|
|
using type = class_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationButton> {
|
|
using type = class_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationComboBox> {
|
|
using type = class_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationProgressBar> {
|
|
using type = class_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationTextProperties> {
|
|
using type = class_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationAudioLooping> {
|
|
using type = enum_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationButtonStyle> {
|
|
using type = enum_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationDuration> {
|
|
using type = enum_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationImageCrop> {
|
|
using type = enum_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationScenario> {
|
|
using type = enum_category;
|
|
};
|
|
template <>
|
|
struct category<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationSoundEvent> {
|
|
using type = enum_category;
|
|
};
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationBuilder> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationBuilder";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationButton> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationButton";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationComboBox> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationComboBox";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationProgressBar> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationProgressBar";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationTextProperties> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationTextProperties";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationAudioLooping> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationAudioLooping";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationButtonStyle> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationButtonStyle";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationDuration> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationDuration";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationImageCrop> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationImageCrop";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationScenario> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationScenario";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationSoundEvent> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.AppNotificationSoundEvent";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationBuilder> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.IAppNotificationBuilder";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationBuilderStatics> =
|
|
L"Microsoft.Windows.AppNotifications.Builder."
|
|
L"IAppNotificationBuilderStatics";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationButton> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.IAppNotificationButton";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationButtonFactory> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.IAppNotificationButtonFactory";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationButtonStatics> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.IAppNotificationButtonStatics";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationComboBox> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.IAppNotificationComboBox";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationComboBoxFactory> =
|
|
L"Microsoft.Windows.AppNotifications.Builder."
|
|
L"IAppNotificationComboBoxFactory";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationProgressBar> =
|
|
L"Microsoft.Windows.AppNotifications.Builder.IAppNotificationProgressBar";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationTextProperties> =
|
|
L"Microsoft.Windows.AppNotifications.Builder."
|
|
L"IAppNotificationTextProperties";
|
|
template <>
|
|
inline constexpr auto& name_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::AppNotificationBuilderContract> =
|
|
L"Microsoft.Windows.AppNotifications.Builder."
|
|
L"AppNotificationBuilderContract";
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationBuilder>{
|
|
0xE801D31F,
|
|
0xCE03,
|
|
0x505C,
|
|
{0xAD, 0xEC, 0x8A, 0x02, 0x72, 0x4E, 0xC9,
|
|
0xDE}}; // E801D31F-CE03-505C-ADEC-8A02724EC9DE
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationBuilderStatics>{
|
|
0xC7042D2A,
|
|
0xD319,
|
|
0x520E,
|
|
{0xA3, 0x14, 0x50, 0x08, 0x1C, 0x88, 0x88,
|
|
0xCC}}; // C7042D2A-D319-520E-A314-50081C8888CC
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationButton>{
|
|
0xA7C03031,
|
|
0x5634,
|
|
0x5098,
|
|
{0xAE, 0xC9, 0x47, 0xEC, 0xB6, 0x0C, 0x34,
|
|
0x99}}; // A7C03031-5634-5098-AEC9-47ECB60C3499
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationButtonFactory>{
|
|
0x4F109286,
|
|
0x0A6D,
|
|
0x5A5E,
|
|
{0x9E, 0x8F, 0x9F, 0xE3, 0x16, 0x69, 0xFB,
|
|
0xB8}}; // 4F109286-0A6D-5A5E-9E8F-9FE31669FBB8
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationButtonStatics>{
|
|
0xFEAD7C18,
|
|
0x4144,
|
|
0x59A4,
|
|
{0x96, 0x11, 0x86, 0xB7, 0xE8, 0x19, 0x18,
|
|
0x53}}; // FEAD7C18-4144-59A4-9611-86B7E8191853
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationComboBox>{
|
|
0x4547C9E2,
|
|
0x4815,
|
|
0x538C,
|
|
{0xBE, 0x26, 0x04, 0x0C, 0xE1, 0x7F, 0x8B,
|
|
0x62}}; // 4547C9E2-4815-538C-BE26-040CE17F8B62
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationComboBoxFactory>{
|
|
0x1B31B5B0,
|
|
0x9D86,
|
|
0x59ED,
|
|
{0x86, 0x29, 0xA7, 0x94, 0x98, 0xAB, 0x5D,
|
|
0x4B}}; // 1B31B5B0-9D86-59ED-8629-A79498AB5D4B
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationProgressBar>{
|
|
0xFCED62F2,
|
|
0x2074,
|
|
0x5641,
|
|
{0x86, 0x30, 0x87, 0xA1, 0x43, 0x15, 0xAC,
|
|
0x86}}; // FCED62F2-2074-5641-8630-87A14315AC86
|
|
template <>
|
|
inline constexpr guid guid_v<winrt::Microsoft::Windows::AppNotifications::
|
|
Builder::IAppNotificationTextProperties>{
|
|
0x23A30D0B,
|
|
0x5258,
|
|
0x5853,
|
|
{0x93, 0x2E, 0x95, 0x21, 0xA3, 0x64, 0x2A,
|
|
0xFB}}; // 23A30D0B-5258-5853-932E-9521A3642AFB
|
|
template <>
|
|
struct default_interface<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationBuilder> {
|
|
using type = winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilder;
|
|
};
|
|
template <>
|
|
struct default_interface<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationButton> {
|
|
using type = winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButton;
|
|
};
|
|
template <>
|
|
struct default_interface<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationComboBox> {
|
|
using type = winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBox;
|
|
};
|
|
template <>
|
|
struct default_interface<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationProgressBar> {
|
|
using type = winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationProgressBar;
|
|
};
|
|
template <>
|
|
struct default_interface<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationTextProperties> {
|
|
using type = winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationTextProperties;
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilder> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall AddArgument(void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetTimeStamp(int64_t, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetDuration(int32_t, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetScenario(int32_t, void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddText(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddText2(void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAttributionText(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAttributionText2(void*, void*,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetInlineImage(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetInlineImage2(void*, int32_t,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetInlineImage3(void*, int32_t, void*,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAppLogoOverride(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAppLogoOverride2(void*, int32_t,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAppLogoOverride3(void*, int32_t, void*,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetHeroImage(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetHeroImage2(void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAudioUri(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAudioUri2(void*, int32_t, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAudioEvent(int32_t, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetAudioEvent2(int32_t, int32_t,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall MuteAudio(void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddTextBox(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddTextBox2(void*, void*, void*,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddButton(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddComboBox(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall AddProgressBar(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall BuildNotification(void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetTag(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetGroup(void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilderStatics> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall IsUrgentScenarioSupported(bool*) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButton> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall get_Content(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Content(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Arguments(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Arguments(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Icon(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Icon(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ToolTip(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_ToolTip(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ContextMenuPlacement(bool*) noexcept = 0;
|
|
virtual int32_t __stdcall put_ContextMenuPlacement(bool) noexcept = 0;
|
|
virtual int32_t __stdcall get_ButtonStyle(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall put_ButtonStyle(int32_t) noexcept = 0;
|
|
virtual int32_t __stdcall get_InputId(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_InputId(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_InvokeUri(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_InvokeUri(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_TargetAppId(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_TargetAppId(void*) noexcept = 0;
|
|
virtual int32_t __stdcall AddArgument(void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetIcon(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetToolTip(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetContextMenuPlacement(void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetButtonStyle(int32_t, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetInputId(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetInvokeUri(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetInvokeUri2(void*, void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButtonFactory> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButtonStatics> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall IsToolTipSupported(bool*) noexcept = 0;
|
|
virtual int32_t __stdcall IsButtonStyleSupported(bool*) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBox> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall get_Items(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Items(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Title(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Title(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_SelectedItem(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_SelectedItem(void*) noexcept = 0;
|
|
virtual int32_t __stdcall AddItem(void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetTitle(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetSelectedItem(void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBoxFactory> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationProgressBar> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall get_Title(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Title(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Status(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Status(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Value(double*) noexcept = 0;
|
|
virtual int32_t __stdcall put_Value(double) noexcept = 0;
|
|
virtual int32_t __stdcall get_ValueStringOverride(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_ValueStringOverride(void*) noexcept = 0;
|
|
virtual int32_t __stdcall SetTitle(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall BindTitle(void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetStatus(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall BindStatus(void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetValue(double, void**) noexcept = 0;
|
|
virtual int32_t __stdcall BindValue(void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetValueStringOverride(void*,
|
|
void**) noexcept = 0;
|
|
virtual int32_t __stdcall BindValueStringOverride(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <>
|
|
struct abi<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationTextProperties> {
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi {
|
|
virtual int32_t __stdcall get_Language(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Language(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_IncomingCallAlignment(bool*) noexcept = 0;
|
|
virtual int32_t __stdcall put_IncomingCallAlignment(bool) noexcept = 0;
|
|
virtual int32_t __stdcall get_MaxLines(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall put_MaxLines(int32_t) noexcept = 0;
|
|
virtual int32_t __stdcall SetLanguage(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetIncomingCallAlignment(void**) noexcept = 0;
|
|
virtual int32_t __stdcall SetMaxLines(int32_t, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationBuilder {
|
|
auto AddArgument(param::hstring const& key,
|
|
param::hstring const& value) const;
|
|
auto SetTimeStamp(winrt::Windows::Foundation::DateTime const& value) const;
|
|
auto SetDuration(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationDuration const& duration) const;
|
|
auto SetScenario(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationScenario const& value) const;
|
|
auto AddText(param::hstring const& text) const;
|
|
auto AddText(param::hstring const& text,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationTextProperties const& properties) const;
|
|
auto SetAttributionText(param::hstring const& text) const;
|
|
auto SetAttributionText(param::hstring const& text,
|
|
param::hstring const& language) const;
|
|
auto SetInlineImage(winrt::Windows::Foundation::Uri const& imageUri) const;
|
|
auto SetInlineImage(winrt::Windows::Foundation::Uri const& imageUri,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationImageCrop const& imageCrop) const;
|
|
auto SetInlineImage(winrt::Windows::Foundation::Uri const& imageUri,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationImageCrop const& imagecrop,
|
|
param::hstring const& alternateText) const;
|
|
auto SetAppLogoOverride(
|
|
winrt::Windows::Foundation::Uri const& imageUri) const;
|
|
auto SetAppLogoOverride(winrt::Windows::Foundation::Uri const& imageUri,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationImageCrop const& imageCrop) const;
|
|
auto SetAppLogoOverride(winrt::Windows::Foundation::Uri const& imageUri,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationImageCrop const& imageCrop,
|
|
param::hstring const& alternateText) const;
|
|
auto SetHeroImage(winrt::Windows::Foundation::Uri const& imageUri) const;
|
|
auto SetHeroImage(winrt::Windows::Foundation::Uri const& imageUri,
|
|
param::hstring const& alternateText) const;
|
|
auto SetAudioUri(winrt::Windows::Foundation::Uri const& audioUri) const;
|
|
auto SetAudioUri(winrt::Windows::Foundation::Uri const& audioUri,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationAudioLooping const& loop) const;
|
|
auto SetAudioEvent(
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationSoundEvent const& appNotificationSoundEvent) const;
|
|
auto SetAudioEvent(
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationSoundEvent const& appNotificationSoundEvent,
|
|
winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationAudioLooping const& loop) const;
|
|
auto MuteAudio() const;
|
|
auto AddTextBox(param::hstring const& id) const;
|
|
auto AddTextBox(param::hstring const& id,
|
|
param::hstring const& placeHolderText,
|
|
param::hstring const& title) const;
|
|
auto AddButton(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationButton const& value) const;
|
|
auto AddComboBox(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationComboBox const& value) const;
|
|
auto AddProgressBar(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationProgressBar const& value) const;
|
|
auto BuildNotification() const;
|
|
auto SetTag(param::hstring const& value) const;
|
|
auto SetGroup(param::hstring const& group) const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilder> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationBuilder<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationBuilderStatics {
|
|
auto IsUrgentScenarioSupported() const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationBuilderStatics> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationBuilderStatics<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationButton {
|
|
[[nodiscard]] auto Content() const;
|
|
auto Content(param::hstring const& value) const;
|
|
[[nodiscard]] auto Arguments() const;
|
|
auto Arguments(param::map<hstring, hstring> const& value) const;
|
|
[[nodiscard]] auto Icon() const;
|
|
auto Icon(winrt::Windows::Foundation::Uri const& value) const;
|
|
[[nodiscard]] auto ToolTip() const;
|
|
auto ToolTip(param::hstring const& value) const;
|
|
[[nodiscard]] auto ContextMenuPlacement() const;
|
|
auto ContextMenuPlacement(bool value) const;
|
|
[[nodiscard]] auto ButtonStyle() const;
|
|
auto ButtonStyle(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationButtonStyle const& value) const;
|
|
[[nodiscard]] auto InputId() const;
|
|
auto InputId(param::hstring const& value) const;
|
|
[[nodiscard]] auto InvokeUri() const;
|
|
auto InvokeUri(winrt::Windows::Foundation::Uri const& value) const;
|
|
[[nodiscard]] auto TargetAppId() const;
|
|
auto TargetAppId(param::hstring const& value) const;
|
|
auto AddArgument(param::hstring const& key,
|
|
param::hstring const& value) const;
|
|
auto SetIcon(winrt::Windows::Foundation::Uri const& value) const;
|
|
auto SetToolTip(param::hstring const& value) const;
|
|
auto SetContextMenuPlacement() const;
|
|
auto SetButtonStyle(winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
AppNotificationButtonStyle const& value) const;
|
|
auto SetInputId(param::hstring const& value) const;
|
|
auto SetInvokeUri(winrt::Windows::Foundation::Uri const& protocolUri) const;
|
|
auto SetInvokeUri(winrt::Windows::Foundation::Uri const& protocolUri,
|
|
param::hstring const& targetAppId) const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButton> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationButton<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationButtonFactory {
|
|
auto CreateInstance(param::hstring const& content) const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButtonFactory> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationButtonFactory<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationButtonStatics {
|
|
auto IsToolTipSupported() const;
|
|
auto IsButtonStyleSupported() const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationButtonStatics> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationButtonStatics<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationComboBox {
|
|
[[nodiscard]] auto Items() const;
|
|
auto Items(param::map<hstring, hstring> const& value) const;
|
|
[[nodiscard]] auto Title() const;
|
|
auto Title(param::hstring const& value) const;
|
|
[[nodiscard]] auto SelectedItem() const;
|
|
auto SelectedItem(param::hstring const& value) const;
|
|
auto AddItem(param::hstring const& id, param::hstring const& content) const;
|
|
auto SetTitle(param::hstring const& value) const;
|
|
auto SetSelectedItem(param::hstring const& id) const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBox> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationComboBox<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationComboBoxFactory {
|
|
auto CreateInstance(param::hstring const& id) const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationComboBoxFactory> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationComboBoxFactory<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationProgressBar {
|
|
[[nodiscard]] auto Title() const;
|
|
auto Title(param::hstring const& value) const;
|
|
[[nodiscard]] auto Status() const;
|
|
auto Status(param::hstring const& value) const;
|
|
[[nodiscard]] auto Value() const;
|
|
auto Value(double value) const;
|
|
[[nodiscard]] auto ValueStringOverride() const;
|
|
auto ValueStringOverride(param::hstring const& value) const;
|
|
auto SetTitle(param::hstring const& value) const;
|
|
auto BindTitle() const;
|
|
auto SetStatus(param::hstring const& value) const;
|
|
auto BindStatus() const;
|
|
auto SetValue(double value) const;
|
|
auto BindValue() const;
|
|
auto SetValueStringOverride(param::hstring const& value) const;
|
|
auto BindValueStringOverride() const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationProgressBar> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationProgressBar<
|
|
D>;
|
|
};
|
|
template <typename D>
|
|
struct
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationTextProperties {
|
|
[[nodiscard]] auto Language() const;
|
|
auto Language(param::hstring const& value) const;
|
|
[[nodiscard]] auto IncomingCallAlignment() const;
|
|
auto IncomingCallAlignment(bool value) const;
|
|
[[nodiscard]] auto MaxLines() const;
|
|
auto MaxLines(int32_t value) const;
|
|
auto SetLanguage(param::hstring const& value) const;
|
|
auto SetIncomingCallAlignment() const;
|
|
auto SetMaxLines(int32_t value) const;
|
|
};
|
|
template <>
|
|
struct consume<winrt::Microsoft::Windows::AppNotifications::Builder::
|
|
IAppNotificationTextProperties> {
|
|
template <typename D>
|
|
using type =
|
|
consume_Microsoft_Windows_AppNotifications_Builder_IAppNotificationTextProperties<
|
|
D>;
|
|
};
|
|
} // namespace winrt::impl
|
|
#endif
|