diff options
Diffstat (limited to 'chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h')
-rw-r--r-- | chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h | 59 |
1 files changed, 27 insertions, 32 deletions
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h index 02f29353e88..ed1af225e00 100644 --- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h +++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h @@ -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_Devices_Geolocation_Geofencing_0_H @@ -13,11 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation struct EventRegistrationToken; template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler; } -WINRT_EXPORT namespace winrt::Windows::Foundation::Collections -{ - template <typename T> struct __declspec(empty_bases) IVectorView; - template <typename T> struct __declspec(empty_bases) IVector; -} WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation::Geofencing { enum class GeofenceMonitorStatus : int32_t @@ -148,13 +143,13 @@ namespace winrt::impl template <typename D> struct consume_Windows_Devices_Geolocation_Geofencing_IGeofence { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) StartTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) DwellTime() const; - [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates) MonitoredStates() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) Geoshape() const; - [[nodiscard]] WINRT_IMPL_AUTO(bool) SingleUse() const; + [[nodiscard]] auto StartTime() const; + [[nodiscard]] auto Duration() const; + [[nodiscard]] auto DwellTime() const; + [[nodiscard]] auto Id() const; + [[nodiscard]] auto MonitoredStates() const; + [[nodiscard]] auto Geoshape() const; + [[nodiscard]] auto SingleUse() const; }; template <> struct consume<winrt::Windows::Devices::Geolocation::Geofencing::IGeofence> { @@ -163,10 +158,10 @@ namespace winrt::impl template <typename D> struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory { - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const; - WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; + auto Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const; + auto CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const; + auto CreateWithMonitorStatesAndDwellTime(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime) const; + auto CreateWithMonitorStatesDwellTimeStartTimeAndDuration(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse, winrt::Windows::Foundation::TimeSpan const& dwellTime, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const; }; template <> struct consume<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceFactory> { @@ -175,18 +170,18 @@ namespace winrt::impl template <typename D> struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitorStatus) Status() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Geolocation::Geofencing::Geofence>) Geofences() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) LastKnownGeoposition() const; - WINRT_IMPL_AUTO(winrt::event_token) GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; + [[nodiscard]] auto Status() const; + [[nodiscard]] auto Geofences() const; + [[nodiscard]] auto LastKnownGeoposition() const; + auto GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; using GeofenceStateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor, &impl::abi_t<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor>::remove_GeofenceStateChanged>; - [[nodiscard]] GeofenceStateChanged_revoker GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; - WINRT_IMPL_AUTO(void) GeofenceStateChanged(winrt::event_token const& token) const noexcept; - WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceStateChangeReport>) ReadReports() const; - WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; + [[nodiscard]] auto GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; + auto GeofenceStateChanged(winrt::event_token const& token) const noexcept; + auto ReadReports() const; + auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor, &impl::abi_t<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor>::remove_StatusChanged>; - [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; - WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept; + [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const; + auto StatusChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor> { @@ -195,7 +190,7 @@ namespace winrt::impl template <typename D> struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor) Current() const; + [[nodiscard]] auto Current() const; }; template <> struct consume<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitorStatics> { @@ -204,10 +199,10 @@ namespace winrt::impl template <typename D> struct consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport { - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceState) NewState() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) Geofence() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Geoposition() const; - [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceRemovalReason) RemovalReason() const; + [[nodiscard]] auto NewState() const; + [[nodiscard]] auto Geofence() const; + [[nodiscard]] auto Geoposition() const; + [[nodiscard]] auto RemovalReason() const; }; template <> struct consume<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport> { |