Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h
T
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00

238 lines
20 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
#ifndef WINRT_Windows_ApplicationModel_Appointments_2_H
#define WINRT_Windows_ApplicationModel_Appointments_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.System.1.h"
#include "winrt/impl/Windows.UI.Popups.1.h"
#include "winrt/impl/Windows.ApplicationModel.Appointments.1.h"
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments
{
struct __declspec(empty_bases) Appointment : winrt::Windows::ApplicationModel::Appointments::IAppointment,
impl::require<Appointment, winrt::Windows::ApplicationModel::Appointments::IAppointment2, winrt::Windows::ApplicationModel::Appointments::IAppointment3>
{
Appointment(std::nullptr_t) noexcept {}
Appointment(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointment(ptr, take_ownership_from_abi) {}
Appointment();
Appointment(Appointment const&) noexcept = default;
Appointment(Appointment&&) noexcept = default;
Appointment& operator=(Appointment const&) & noexcept = default;
Appointment& operator=(Appointment&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentCalendar : winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar,
impl::require<AppointmentCalendar, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar3>
{
AppointmentCalendar(std::nullptr_t) noexcept {}
AppointmentCalendar(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar(ptr, take_ownership_from_abi) {}
AppointmentCalendar(AppointmentCalendar const&) noexcept = default;
AppointmentCalendar(AppointmentCalendar&&) noexcept = default;
AppointmentCalendar& operator=(AppointmentCalendar const&) & noexcept = default;
AppointmentCalendar& operator=(AppointmentCalendar&&) & noexcept = default;
using winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar::DisplayColor;
using impl::consume_t<AppointmentCalendar, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2>::DisplayColor;
using winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar::IsHidden;
using impl::consume_t<AppointmentCalendar, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2>::IsHidden;
};
struct __declspec(empty_bases) AppointmentCalendarSyncManager : winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager,
impl::require<AppointmentCalendarSyncManager, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2>
{
AppointmentCalendarSyncManager(std::nullptr_t) noexcept {}
AppointmentCalendarSyncManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager(ptr, take_ownership_from_abi) {}
AppointmentCalendarSyncManager(AppointmentCalendarSyncManager const&) noexcept = default;
AppointmentCalendarSyncManager(AppointmentCalendarSyncManager&&) noexcept = default;
AppointmentCalendarSyncManager& operator=(AppointmentCalendarSyncManager const&) & noexcept = default;
AppointmentCalendarSyncManager& operator=(AppointmentCalendarSyncManager&&) & noexcept = default;
using winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager::LastAttemptedSyncTime;
using impl::consume_t<AppointmentCalendarSyncManager, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2>::LastAttemptedSyncTime;
using winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager::LastSuccessfulSyncTime;
using impl::consume_t<AppointmentCalendarSyncManager, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2>::LastSuccessfulSyncTime;
using winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager::Status;
using impl::consume_t<AppointmentCalendarSyncManager, winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2>::Status;
};
struct __declspec(empty_bases) AppointmentConflictResult : winrt::Windows::ApplicationModel::Appointments::IAppointmentConflictResult
{
AppointmentConflictResult(std::nullptr_t) noexcept {}
AppointmentConflictResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentConflictResult(ptr, take_ownership_from_abi) {}
AppointmentConflictResult(AppointmentConflictResult const&) noexcept = default;
AppointmentConflictResult(AppointmentConflictResult&&) noexcept = default;
AppointmentConflictResult& operator=(AppointmentConflictResult const&) & noexcept = default;
AppointmentConflictResult& operator=(AppointmentConflictResult&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentException : winrt::Windows::ApplicationModel::Appointments::IAppointmentException
{
AppointmentException(std::nullptr_t) noexcept {}
AppointmentException(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentException(ptr, take_ownership_from_abi) {}
AppointmentException(AppointmentException const&) noexcept = default;
AppointmentException(AppointmentException&&) noexcept = default;
AppointmentException& operator=(AppointmentException const&) & noexcept = default;
AppointmentException& operator=(AppointmentException&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentInvitee : winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee
{
AppointmentInvitee(std::nullptr_t) noexcept {}
AppointmentInvitee(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee(ptr, take_ownership_from_abi) {}
AppointmentInvitee();
AppointmentInvitee(AppointmentInvitee const&) noexcept = default;
AppointmentInvitee(AppointmentInvitee&&) noexcept = default;
AppointmentInvitee& operator=(AppointmentInvitee const&) & noexcept = default;
AppointmentInvitee& operator=(AppointmentInvitee&&) & noexcept = default;
};
struct AppointmentManager
{
AppointmentManager() = delete;
static auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection);
static auto ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement);
static auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection);
static auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement);
static auto ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate);
static auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection);
static auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement);
static auto ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement, winrt::Windows::Foundation::DateTime const& instanceStartDate);
static auto ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration);
static auto ShowAppointmentDetailsAsync(param::hstring const& appointmentId);
static auto ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate);
static auto ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment);
static auto RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options);
static auto GetForUser(winrt::Windows::System::User const& user);
};
struct __declspec(empty_bases) AppointmentManagerForUser : winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser
{
AppointmentManagerForUser(std::nullptr_t) noexcept {}
AppointmentManagerForUser(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser(ptr, take_ownership_from_abi) {}
AppointmentManagerForUser(AppointmentManagerForUser const&) noexcept = default;
AppointmentManagerForUser(AppointmentManagerForUser&&) noexcept = default;
AppointmentManagerForUser& operator=(AppointmentManagerForUser const&) & noexcept = default;
AppointmentManagerForUser& operator=(AppointmentManagerForUser&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentOrganizer : winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant
{
AppointmentOrganizer(std::nullptr_t) noexcept {}
AppointmentOrganizer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant(ptr, take_ownership_from_abi) {}
AppointmentOrganizer();
AppointmentOrganizer(AppointmentOrganizer const&) noexcept = default;
AppointmentOrganizer(AppointmentOrganizer&&) noexcept = default;
AppointmentOrganizer& operator=(AppointmentOrganizer const&) & noexcept = default;
AppointmentOrganizer& operator=(AppointmentOrganizer&&) & noexcept = default;
};
struct AppointmentProperties
{
AppointmentProperties() = delete;
[[nodiscard]] static auto Subject();
[[nodiscard]] static auto Location();
[[nodiscard]] static auto StartTime();
[[nodiscard]] static auto Duration();
[[nodiscard]] static auto Reminder();
[[nodiscard]] static auto BusyStatus();
[[nodiscard]] static auto Sensitivity();
[[nodiscard]] static auto OriginalStartTime();
[[nodiscard]] static auto IsResponseRequested();
[[nodiscard]] static auto AllowNewTimeProposal();
[[nodiscard]] static auto AllDay();
[[nodiscard]] static auto Details();
[[nodiscard]] static auto OnlineMeetingLink();
[[nodiscard]] static auto ReplyTime();
[[nodiscard]] static auto Organizer();
[[nodiscard]] static auto UserResponse();
[[nodiscard]] static auto HasInvitees();
[[nodiscard]] static auto IsCanceledMeeting();
[[nodiscard]] static auto IsOrganizedByUser();
[[nodiscard]] static auto Recurrence();
[[nodiscard]] static auto Uri();
[[nodiscard]] static auto Invitees();
[[nodiscard]] static auto DefaultProperties();
[[nodiscard]] static auto ChangeNumber();
[[nodiscard]] static auto RemoteChangeNumber();
[[nodiscard]] static auto DetailsKind();
};
struct __declspec(empty_bases) AppointmentRecurrence : winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence,
impl::require<AppointmentRecurrence, winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2, winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence3>
{
AppointmentRecurrence(std::nullptr_t) noexcept {}
AppointmentRecurrence(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence(ptr, take_ownership_from_abi) {}
AppointmentRecurrence();
AppointmentRecurrence(AppointmentRecurrence const&) noexcept = default;
AppointmentRecurrence(AppointmentRecurrence&&) noexcept = default;
AppointmentRecurrence& operator=(AppointmentRecurrence const&) & noexcept = default;
AppointmentRecurrence& operator=(AppointmentRecurrence&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentStore : winrt::Windows::ApplicationModel::Appointments::IAppointmentStore,
impl::require<AppointmentStore, winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2, winrt::Windows::ApplicationModel::Appointments::IAppointmentStore3>
{
AppointmentStore(std::nullptr_t) noexcept {}
AppointmentStore(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStore(ptr, take_ownership_from_abi) {}
AppointmentStore(AppointmentStore const&) noexcept = default;
AppointmentStore(AppointmentStore&&) noexcept = default;
AppointmentStore& operator=(AppointmentStore const&) & noexcept = default;
AppointmentStore& operator=(AppointmentStore&&) & noexcept = default;
using winrt::Windows::ApplicationModel::Appointments::IAppointmentStore::CreateAppointmentCalendarAsync;
using impl::consume_t<AppointmentStore, winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2>::CreateAppointmentCalendarAsync;
};
struct __declspec(empty_bases) AppointmentStoreChange : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange,
impl::require<AppointmentStoreChange, winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange2>
{
AppointmentStoreChange(std::nullptr_t) noexcept {}
AppointmentStoreChange(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange(ptr, take_ownership_from_abi) {}
AppointmentStoreChange(AppointmentStoreChange const&) noexcept = default;
AppointmentStoreChange(AppointmentStoreChange&&) noexcept = default;
AppointmentStoreChange& operator=(AppointmentStoreChange const&) & noexcept = default;
AppointmentStoreChange& operator=(AppointmentStoreChange&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentStoreChangeReader : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader
{
AppointmentStoreChangeReader(std::nullptr_t) noexcept {}
AppointmentStoreChangeReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader(ptr, take_ownership_from_abi) {}
AppointmentStoreChangeReader(AppointmentStoreChangeReader const&) noexcept = default;
AppointmentStoreChangeReader(AppointmentStoreChangeReader&&) noexcept = default;
AppointmentStoreChangeReader& operator=(AppointmentStoreChangeReader const&) & noexcept = default;
AppointmentStoreChangeReader& operator=(AppointmentStoreChangeReader&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentStoreChangeTracker : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker,
impl::require<AppointmentStoreChangeTracker, winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker2>
{
AppointmentStoreChangeTracker(std::nullptr_t) noexcept {}
AppointmentStoreChangeTracker(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker(ptr, take_ownership_from_abi) {}
AppointmentStoreChangeTracker(AppointmentStoreChangeTracker const&) noexcept = default;
AppointmentStoreChangeTracker(AppointmentStoreChangeTracker&&) noexcept = default;
AppointmentStoreChangeTracker& operator=(AppointmentStoreChangeTracker const&) & noexcept = default;
AppointmentStoreChangeTracker& operator=(AppointmentStoreChangeTracker&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentStoreChangedDeferral : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedDeferral
{
AppointmentStoreChangedDeferral(std::nullptr_t) noexcept {}
AppointmentStoreChangedDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedDeferral(ptr, take_ownership_from_abi) {}
AppointmentStoreChangedDeferral(AppointmentStoreChangedDeferral const&) noexcept = default;
AppointmentStoreChangedDeferral(AppointmentStoreChangedDeferral&&) noexcept = default;
AppointmentStoreChangedDeferral& operator=(AppointmentStoreChangedDeferral const&) & noexcept = default;
AppointmentStoreChangedDeferral& operator=(AppointmentStoreChangedDeferral&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentStoreChangedEventArgs : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedEventArgs
{
AppointmentStoreChangedEventArgs(std::nullptr_t) noexcept {}
AppointmentStoreChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedEventArgs(ptr, take_ownership_from_abi) {}
AppointmentStoreChangedEventArgs(AppointmentStoreChangedEventArgs const&) noexcept = default;
AppointmentStoreChangedEventArgs(AppointmentStoreChangedEventArgs&&) noexcept = default;
AppointmentStoreChangedEventArgs& operator=(AppointmentStoreChangedEventArgs const&) & noexcept = default;
AppointmentStoreChangedEventArgs& operator=(AppointmentStoreChangedEventArgs&&) & noexcept = default;
};
struct __declspec(empty_bases) AppointmentStoreNotificationTriggerDetails : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreNotificationTriggerDetails
{
AppointmentStoreNotificationTriggerDetails(std::nullptr_t) noexcept {}
AppointmentStoreNotificationTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreNotificationTriggerDetails(ptr, take_ownership_from_abi) {}
AppointmentStoreNotificationTriggerDetails(AppointmentStoreNotificationTriggerDetails const&) noexcept = default;
AppointmentStoreNotificationTriggerDetails(AppointmentStoreNotificationTriggerDetails&&) noexcept = default;
AppointmentStoreNotificationTriggerDetails& operator=(AppointmentStoreNotificationTriggerDetails const&) & noexcept = default;
AppointmentStoreNotificationTriggerDetails& operator=(AppointmentStoreNotificationTriggerDetails&&) & noexcept = default;
};
struct __declspec(empty_bases) FindAppointmentsOptions : winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions
{
FindAppointmentsOptions(std::nullptr_t) noexcept {}
FindAppointmentsOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions(ptr, take_ownership_from_abi) {}
FindAppointmentsOptions();
FindAppointmentsOptions(FindAppointmentsOptions const&) noexcept = default;
FindAppointmentsOptions(FindAppointmentsOptions&&) noexcept = default;
FindAppointmentsOptions& operator=(FindAppointmentsOptions const&) & noexcept = default;
FindAppointmentsOptions& operator=(FindAppointmentsOptions&&) & noexcept = default;
};
}
#endif