mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+241
-245
@@ -1,4 +1,4 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_UI_Notifications_0_H
|
||||
@@ -17,7 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
struct EventRegistrationToken;
|
||||
struct HResult;
|
||||
struct IAsyncAction;
|
||||
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
|
||||
template <typename T> struct __declspec(empty_bases) IReference;
|
||||
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
|
||||
struct Uri;
|
||||
@@ -26,9 +25,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
|
||||
{
|
||||
template <typename T> struct __declspec(empty_bases) IIterable;
|
||||
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
|
||||
template <typename K, typename V> struct __declspec(empty_bases) IMap;
|
||||
template <typename T> struct __declspec(empty_bases) IVectorView;
|
||||
template <typename T> struct __declspec(empty_bases) IVector;
|
||||
struct ValueSet;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::System
|
||||
@@ -1306,8 +1302,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IAdaptiveNotificationContent
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::AdaptiveNotificationContentKind) Kind() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) Hints() const;
|
||||
[[nodiscard]] auto Kind() const;
|
||||
[[nodiscard]] auto Hints() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IAdaptiveNotificationContent>
|
||||
{
|
||||
@@ -1316,10 +1312,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IAdaptiveNotificationText
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const;
|
||||
WINRT_IMPL_AUTO(void) Text(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const;
|
||||
WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Text() const;
|
||||
auto Text(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Language() const;
|
||||
auto Language(param::hstring const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IAdaptiveNotificationText>
|
||||
{
|
||||
@@ -1328,9 +1324,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IBadgeNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
[[nodiscard]] auto Content() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeNotification>
|
||||
{
|
||||
@@ -1339,7 +1335,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IBadgeNotificationFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
auto CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeNotificationFactory>
|
||||
{
|
||||
@@ -1348,10 +1344,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
|
||||
auto CreateBadgeUpdaterForApplication() const;
|
||||
auto CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
auto CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
[[nodiscard]] auto User() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeUpdateManagerForUser>
|
||||
{
|
||||
@@ -1360,10 +1356,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const;
|
||||
auto CreateBadgeUpdaterForApplication() const;
|
||||
auto CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
auto CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
auto GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics>
|
||||
{
|
||||
@@ -1372,7 +1368,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdateManagerForUser) GetForUser(winrt::Windows::System::User const& user) const;
|
||||
auto GetForUser(winrt::Windows::System::User const& user) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics2>
|
||||
{
|
||||
@@ -1381,11 +1377,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IBadgeUpdater
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const;
|
||||
WINRT_IMPL_AUTO(void) Clear() const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StopPeriodicUpdate() const;
|
||||
auto Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const;
|
||||
auto Clear() const;
|
||||
auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StopPeriodicUpdate() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeUpdater>
|
||||
{
|
||||
@@ -1394,12 +1390,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Style() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Wrap() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) MaxLines() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) MinLines() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) TextStacking() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Align() const;
|
||||
[[nodiscard]] auto Style() const;
|
||||
[[nodiscard]] auto Wrap() const;
|
||||
[[nodiscard]] auto MaxLines() const;
|
||||
[[nodiscard]] auto MinLines() const;
|
||||
[[nodiscard]] auto TextStacking() const;
|
||||
[[nodiscard]] auto Align() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics>
|
||||
{
|
||||
@@ -1408,25 +1404,25 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Caption() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Base() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtitle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Title() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Subheader() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Header() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleNumeral() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) SubheaderNumeral() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderNumeral() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) CaptionSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) BodySubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) BaseSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) SubtitleSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) TitleSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) SubheaderSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) SubheaderNumeralSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderSubtle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) HeaderNumeralSubtle() const;
|
||||
[[nodiscard]] auto Caption() const;
|
||||
[[nodiscard]] auto Body() const;
|
||||
[[nodiscard]] auto Base() const;
|
||||
[[nodiscard]] auto Subtitle() const;
|
||||
[[nodiscard]] auto Title() const;
|
||||
[[nodiscard]] auto Subheader() const;
|
||||
[[nodiscard]] auto Header() const;
|
||||
[[nodiscard]] auto TitleNumeral() const;
|
||||
[[nodiscard]] auto SubheaderNumeral() const;
|
||||
[[nodiscard]] auto HeaderNumeral() const;
|
||||
[[nodiscard]] auto CaptionSubtle() const;
|
||||
[[nodiscard]] auto BodySubtle() const;
|
||||
[[nodiscard]] auto BaseSubtle() const;
|
||||
[[nodiscard]] auto SubtitleSubtle() const;
|
||||
[[nodiscard]] auto TitleSubtle() const;
|
||||
[[nodiscard]] auto SubheaderSubtle() const;
|
||||
[[nodiscard]] auto SubheaderNumeralSubtle() const;
|
||||
[[nodiscard]] auto HeaderSubtle() const;
|
||||
[[nodiscard]] auto HeaderNumeralSubtle() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics>
|
||||
{
|
||||
@@ -1435,7 +1431,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ToastGeneric() const;
|
||||
[[nodiscard]] auto ToastGeneric() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IKnownNotificationBindingsStatics>
|
||||
{
|
||||
@@ -1444,10 +1440,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_INotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationVisual) Visual() const;
|
||||
WINRT_IMPL_AUTO(void) Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto Visual() const;
|
||||
auto Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::INotification>
|
||||
{
|
||||
@@ -1456,12 +1452,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_INotificationBinding
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Template() const;
|
||||
WINRT_IMPL_AUTO(void) Template(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const;
|
||||
WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) Hints() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::AdaptiveNotificationText>) GetTextElements() const;
|
||||
[[nodiscard]] auto Template() const;
|
||||
auto Template(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Language() const;
|
||||
auto Language(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Hints() const;
|
||||
auto GetTextElements() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::INotificationBinding>
|
||||
{
|
||||
@@ -1470,9 +1466,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_INotificationData
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) Values() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SequenceNumber() const;
|
||||
WINRT_IMPL_AUTO(void) SequenceNumber(uint32_t value) const;
|
||||
[[nodiscard]] auto Values() const;
|
||||
[[nodiscard]] auto SequenceNumber() const;
|
||||
auto SequenceNumber(uint32_t value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::INotificationData>
|
||||
{
|
||||
@@ -1481,8 +1477,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_INotificationDataFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues, uint32_t sequenceNumber) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues) const;
|
||||
auto CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues, uint32_t sequenceNumber) const;
|
||||
auto CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::INotificationDataFactory>
|
||||
{
|
||||
@@ -1491,10 +1487,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_INotificationVisual
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Language() const;
|
||||
WINRT_IMPL_AUTO(void) Language(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Notifications::NotificationBinding>) Bindings() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationBinding) GetBinding(param::hstring const& templateName) const;
|
||||
[[nodiscard]] auto Language() const;
|
||||
auto Language(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Bindings() const;
|
||||
auto GetBinding(param::hstring const& templateName) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::INotificationVisual>
|
||||
{
|
||||
@@ -1503,14 +1499,14 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledTileNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DeliveryTime() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const;
|
||||
WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] auto Content() const;
|
||||
[[nodiscard]] auto DeliveryTime() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
auto Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Tag() const;
|
||||
auto Id(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledTileNotification>
|
||||
{
|
||||
@@ -1519,7 +1515,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledTileNotificationFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledTileNotification) CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const;
|
||||
auto CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledTileNotificationFactory>
|
||||
{
|
||||
@@ -1528,12 +1524,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledToastNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DeliveryTime() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) SnoozeInterval() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaximumSnoozeCount() const;
|
||||
WINRT_IMPL_AUTO(void) Id(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] auto Content() const;
|
||||
[[nodiscard]] auto DeliveryTime() const;
|
||||
[[nodiscard]] auto SnoozeInterval() const;
|
||||
[[nodiscard]] auto MaximumSnoozeCount() const;
|
||||
auto Id(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotification>
|
||||
{
|
||||
@@ -1542,12 +1538,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledToastNotification2
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const;
|
||||
WINRT_IMPL_AUTO(void) Group(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Group() const;
|
||||
WINRT_IMPL_AUTO(void) SuppressPopup(bool value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) SuppressPopup() const;
|
||||
auto Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Tag() const;
|
||||
auto Group(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Group() const;
|
||||
auto SuppressPopup(bool value) const;
|
||||
[[nodiscard]] auto SuppressPopup() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotification2>
|
||||
{
|
||||
@@ -1556,10 +1552,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledToastNotification3
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) NotificationMirroring() const;
|
||||
WINRT_IMPL_AUTO(void) NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const;
|
||||
WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const;
|
||||
[[nodiscard]] auto NotificationMirroring() const;
|
||||
auto NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const;
|
||||
[[nodiscard]] auto RemoteId() const;
|
||||
auto RemoteId(param::hstring const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotification3>
|
||||
{
|
||||
@@ -1568,8 +1564,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledToastNotification4
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotification4>
|
||||
{
|
||||
@@ -1578,8 +1574,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledToastNotificationFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) CreateScheduledToastNotificationRecurring(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime, winrt::Windows::Foundation::TimeSpan const& snoozeInterval, uint32_t maximumSnoozeCount) const;
|
||||
auto CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const;
|
||||
auto CreateScheduledToastNotificationRecurring(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime, winrt::Windows::Foundation::TimeSpan const& snoozeInterval, uint32_t maximumSnoozeCount) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotificationFactory>
|
||||
{
|
||||
@@ -1588,10 +1584,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) Cancel() const;
|
||||
WINRT_IMPL_AUTO(void) Cancel(bool value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) ScheduledToastNotification() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
|
||||
[[nodiscard]] auto Cancel() const;
|
||||
auto Cancel(bool value) const;
|
||||
[[nodiscard]] auto ScheduledToastNotification() const;
|
||||
auto GetDeferral() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs>
|
||||
{
|
||||
@@ -1600,7 +1596,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IShownTileNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const;
|
||||
[[nodiscard]] auto Arguments() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IShownTileNotification>
|
||||
{
|
||||
@@ -1609,9 +1605,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileFlyoutNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
[[nodiscard]] auto Content() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileFlyoutNotification>
|
||||
{
|
||||
@@ -1620,7 +1616,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileFlyoutNotificationFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutNotification) CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
auto CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileFlyoutNotificationFactory>
|
||||
{
|
||||
@@ -1629,10 +1625,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) CreateTileFlyoutUpdaterForApplication() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const;
|
||||
auto CreateTileFlyoutUpdaterForApplication() const;
|
||||
auto CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
auto CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
auto GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics>
|
||||
{
|
||||
@@ -1641,12 +1637,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileFlyoutUpdater
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const;
|
||||
WINRT_IMPL_AUTO(void) Clear() const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StopPeriodicUpdate() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) Setting() const;
|
||||
auto Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const;
|
||||
auto Clear() const;
|
||||
auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StopPeriodicUpdate() const;
|
||||
[[nodiscard]] auto Setting() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileFlyoutUpdater>
|
||||
{
|
||||
@@ -1655,11 +1651,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const;
|
||||
[[nodiscard]] auto Content() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
auto Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Tag() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileNotification>
|
||||
{
|
||||
@@ -1668,7 +1664,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileNotificationFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
auto CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileNotificationFactory>
|
||||
{
|
||||
@@ -1677,10 +1673,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileUpdateManagerForUser
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplicationForUser() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
|
||||
auto CreateTileUpdaterForApplicationForUser() const;
|
||||
auto CreateTileUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
auto CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
[[nodiscard]] auto User() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileUpdateManagerForUser>
|
||||
{
|
||||
@@ -1689,10 +1685,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileUpdateManagerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplication() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const;
|
||||
auto CreateTileUpdaterForApplication() const;
|
||||
auto CreateTileUpdaterForApplication(param::hstring const& applicationId) const;
|
||||
auto CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const;
|
||||
auto GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileUpdateManagerStatics>
|
||||
{
|
||||
@@ -1701,7 +1697,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileUpdateManagerStatics2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdateManagerForUser) GetForUser(winrt::Windows::System::User const& user) const;
|
||||
auto GetForUser(winrt::Windows::System::User const& user) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileUpdateManagerStatics2>
|
||||
{
|
||||
@@ -1710,18 +1706,18 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileUpdater
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const;
|
||||
WINRT_IMPL_AUTO(void) Clear() const;
|
||||
WINRT_IMPL_AUTO(void) EnableNotificationQueue(bool enable) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) Setting() const;
|
||||
WINRT_IMPL_AUTO(void) AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const;
|
||||
WINRT_IMPL_AUTO(void) RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ScheduledTileNotification>) GetScheduledTileNotifications() const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StopPeriodicUpdate() const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
WINRT_IMPL_AUTO(void) StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const;
|
||||
auto Clear() const;
|
||||
auto EnableNotificationQueue(bool enable) const;
|
||||
[[nodiscard]] auto Setting() const;
|
||||
auto AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const;
|
||||
auto RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const;
|
||||
auto GetScheduledTileNotifications() const;
|
||||
auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StopPeriodicUpdate() const;
|
||||
auto StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
auto StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileUpdater>
|
||||
{
|
||||
@@ -1730,9 +1726,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_ITileUpdater2
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) EnableNotificationQueueForSquare150x150(bool enable) const;
|
||||
WINRT_IMPL_AUTO(void) EnableNotificationQueueForWide310x150(bool enable) const;
|
||||
WINRT_IMPL_AUTO(void) EnableNotificationQueueForSquare310x310(bool enable) const;
|
||||
auto EnableNotificationQueueForSquare150x150(bool enable) const;
|
||||
auto EnableNotificationQueueForWide310x150(bool enable) const;
|
||||
auto EnableNotificationQueueForSquare310x310(bool enable) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::ITileUpdater2>
|
||||
{
|
||||
@@ -1741,7 +1737,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastActivatedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const;
|
||||
[[nodiscard]] auto Arguments() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastActivatedEventArgs>
|
||||
{
|
||||
@@ -1750,7 +1746,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastActivatedEventArgs2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) UserInput() const;
|
||||
[[nodiscard]] auto UserInput() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastActivatedEventArgs2>
|
||||
{
|
||||
@@ -1759,13 +1755,13 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastCollection
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const;
|
||||
WINRT_IMPL_AUTO(void) DisplayName(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) LaunchArgs() const;
|
||||
WINRT_IMPL_AUTO(void) LaunchArgs(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Icon() const;
|
||||
WINRT_IMPL_AUTO(void) Icon(winrt::Windows::Foundation::Uri const& value) const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto DisplayName() const;
|
||||
auto DisplayName(param::hstring const& value) const;
|
||||
[[nodiscard]] auto LaunchArgs() const;
|
||||
auto LaunchArgs(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Icon() const;
|
||||
auto Icon(winrt::Windows::Foundation::Uri const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastCollection>
|
||||
{
|
||||
@@ -1774,7 +1770,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastCollectionFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollection) CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const;
|
||||
auto CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastCollectionFactory>
|
||||
{
|
||||
@@ -1783,13 +1779,13 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastCollectionManager
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastCollection>>) FindAllToastCollectionsAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastCollection>) GetToastCollectionAsync(param::hstring const& collectionId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveToastCollectionAsync(param::hstring const& collectionId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RemoveAllToastCollectionsAsync() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) AppId() const;
|
||||
auto SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const;
|
||||
auto FindAllToastCollectionsAsync() const;
|
||||
auto GetToastCollectionAsync(param::hstring const& collectionId) const;
|
||||
auto RemoveToastCollectionAsync(param::hstring const& collectionId) const;
|
||||
auto RemoveAllToastCollectionsAsync() const;
|
||||
[[nodiscard]] auto User() const;
|
||||
[[nodiscard]] auto AppId() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastCollectionManager>
|
||||
{
|
||||
@@ -1798,7 +1794,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastDismissedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastDismissalReason) Reason() const;
|
||||
[[nodiscard]] auto Reason() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastDismissedEventArgs>
|
||||
{
|
||||
@@ -1807,7 +1803,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastFailedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
|
||||
[[nodiscard]] auto ErrorCode() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastFailedEventArgs>
|
||||
{
|
||||
@@ -1816,21 +1812,21 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) Content() const;
|
||||
WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto Content() const;
|
||||
auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
|
||||
[[nodiscard]] auto ExpirationTime() const;
|
||||
auto Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
|
||||
using Dismissed_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotification, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotification>::remove_Dismissed>;
|
||||
[[nodiscard]] Dismissed_revoker Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) Dismissed(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
[[nodiscard]] auto Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
|
||||
auto Dismissed(winrt::event_token const& token) const noexcept;
|
||||
auto Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
using Activated_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotification, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotification>::remove_Activated>;
|
||||
[[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) Activated(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
auto Activated(winrt::event_token const& token) const noexcept;
|
||||
auto Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
|
||||
using Failed_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotification, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotification>::remove_Failed>;
|
||||
[[nodiscard]] Failed_revoker Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) Failed(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
|
||||
auto Failed(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotification>
|
||||
{
|
||||
@@ -1839,12 +1835,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotification2
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const;
|
||||
WINRT_IMPL_AUTO(void) Group(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Group() const;
|
||||
WINRT_IMPL_AUTO(void) SuppressPopup(bool value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) SuppressPopup() const;
|
||||
auto Tag(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Tag() const;
|
||||
auto Group(param::hstring const& value) const;
|
||||
[[nodiscard]] auto Group() const;
|
||||
auto SuppressPopup(bool value) const;
|
||||
[[nodiscard]] auto SuppressPopup() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotification2>
|
||||
{
|
||||
@@ -1853,10 +1849,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotification3
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) NotificationMirroring() const;
|
||||
WINRT_IMPL_AUTO(void) NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const;
|
||||
WINRT_IMPL_AUTO(void) RemoteId(param::hstring const& value) const;
|
||||
[[nodiscard]] auto NotificationMirroring() const;
|
||||
auto NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const;
|
||||
[[nodiscard]] auto RemoteId() const;
|
||||
auto RemoteId(param::hstring const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotification3>
|
||||
{
|
||||
@@ -1865,10 +1861,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotification4
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) Data() const;
|
||||
WINRT_IMPL_AUTO(void) Data(winrt::Windows::UI::Notifications::NotificationData const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationPriority) Priority() const;
|
||||
WINRT_IMPL_AUTO(void) Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const;
|
||||
[[nodiscard]] auto Data() const;
|
||||
auto Data(winrt::Windows::UI::Notifications::NotificationData const& value) const;
|
||||
[[nodiscard]] auto Priority() const;
|
||||
auto Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotification4>
|
||||
{
|
||||
@@ -1877,8 +1873,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotification6
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) ExpiresOnReboot() const;
|
||||
WINRT_IMPL_AUTO(void) ExpiresOnReboot(bool value) const;
|
||||
[[nodiscard]] auto ExpiresOnReboot() const;
|
||||
auto ExpiresOnReboot(bool value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotification6>
|
||||
{
|
||||
@@ -1887,8 +1883,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Argument() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) UserInput() const;
|
||||
[[nodiscard]] auto Argument() const;
|
||||
[[nodiscard]] auto UserInput() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationActionTriggerDetail>
|
||||
{
|
||||
@@ -1897,7 +1893,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
auto CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationFactory>
|
||||
{
|
||||
@@ -1906,13 +1902,13 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationHistory
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) RemoveGroup(param::hstring const& group) const;
|
||||
WINRT_IMPL_AUTO(void) RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(void) Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(void) Remove(param::hstring const& tag, param::hstring const& group) const;
|
||||
WINRT_IMPL_AUTO(void) Remove(param::hstring const& tag) const;
|
||||
WINRT_IMPL_AUTO(void) Clear() const;
|
||||
WINRT_IMPL_AUTO(void) Clear(param::hstring const& applicationId) const;
|
||||
auto RemoveGroup(param::hstring const& group) const;
|
||||
auto RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const;
|
||||
auto Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const;
|
||||
auto Remove(param::hstring const& tag, param::hstring const& group) const;
|
||||
auto Remove(param::hstring const& tag) const;
|
||||
auto Clear() const;
|
||||
auto Clear(param::hstring const& applicationId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistory>
|
||||
{
|
||||
@@ -1921,8 +1917,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationHistory2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>) GetHistory() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>) GetHistory(param::hstring const& applicationId) const;
|
||||
auto GetHistory() const;
|
||||
auto GetHistory(param::hstring const& applicationId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistory2>
|
||||
{
|
||||
@@ -1931,7 +1927,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastHistoryChangedType) ChangeType() const;
|
||||
[[nodiscard]] auto ChangeType() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail>
|
||||
{
|
||||
@@ -1940,7 +1936,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) CollectionId() const;
|
||||
[[nodiscard]] auto CollectionId() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail2>
|
||||
{
|
||||
@@ -1949,10 +1945,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationManagerForUser
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier(param::hstring const& applicationId) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) History() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
|
||||
auto CreateToastNotifier() const;
|
||||
auto CreateToastNotifier(param::hstring const& applicationId) const;
|
||||
[[nodiscard]] auto History() const;
|
||||
[[nodiscard]] auto User() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerForUser>
|
||||
{
|
||||
@@ -1961,10 +1957,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationManagerForUser2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastNotifier>) GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastNotificationHistory>) GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) GetToastCollectionManager() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) GetToastCollectionManager(param::hstring const& appId) const;
|
||||
auto GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const;
|
||||
auto GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const;
|
||||
auto GetToastCollectionManager() const;
|
||||
auto GetToastCollectionManager(param::hstring const& appId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerForUser2>
|
||||
{
|
||||
@@ -1973,9 +1969,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) CreateToastNotifier(param::hstring const& applicationId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const;
|
||||
auto CreateToastNotifier() const;
|
||||
auto CreateToastNotifier(param::hstring const& applicationId) const;
|
||||
auto GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics>
|
||||
{
|
||||
@@ -1984,7 +1980,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) History() const;
|
||||
[[nodiscard]] auto History() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics2>
|
||||
{
|
||||
@@ -1993,8 +1989,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics4
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) GetForUser(winrt::Windows::System::User const& user) const;
|
||||
WINRT_IMPL_AUTO(void) ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const;
|
||||
auto GetForUser(winrt::Windows::System::User const& user) const;
|
||||
auto ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics4>
|
||||
{
|
||||
@@ -2003,7 +1999,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics5
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) GetDefault() const;
|
||||
auto GetDefault() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics5>
|
||||
{
|
||||
@@ -2012,12 +2008,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotifier
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const;
|
||||
WINRT_IMPL_AUTO(void) Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) Setting() const;
|
||||
WINRT_IMPL_AUTO(void) AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const;
|
||||
WINRT_IMPL_AUTO(void) RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ScheduledToastNotification>) GetScheduledToastNotifications() const;
|
||||
auto Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const;
|
||||
auto Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const;
|
||||
[[nodiscard]] auto Setting() const;
|
||||
auto AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const;
|
||||
auto RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const;
|
||||
auto GetScheduledToastNotifications() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotifier>
|
||||
{
|
||||
@@ -2026,8 +2022,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotifier2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const;
|
||||
auto Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const;
|
||||
auto Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotifier2>
|
||||
{
|
||||
@@ -2036,10 +2032,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IToastNotifier3
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::event_token) ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
|
||||
auto ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
|
||||
using ScheduledToastNotificationShowing_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotifier3, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotifier3>::remove_ScheduledToastNotificationShowing>;
|
||||
[[nodiscard]] ScheduledToastNotificationShowing_revoker ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
|
||||
auto ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotifier3>
|
||||
{
|
||||
@@ -2048,10 +2044,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IUserNotification
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Notification) Notification() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) CreationTime() const;
|
||||
[[nodiscard]] auto Notification() const;
|
||||
[[nodiscard]] auto AppInfo() const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto CreationTime() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IUserNotification>
|
||||
{
|
||||
@@ -2060,8 +2056,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotificationChangedKind) ChangeKind() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) UserNotificationId() const;
|
||||
[[nodiscard]] auto ChangeKind() const;
|
||||
[[nodiscard]] auto UserNotificationId() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::UI::Notifications::IUserNotificationChangedEventArgs>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user