mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
139 lines
11 KiB
C++
139 lines
11 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_UI_Xaml_Media_Imaging_2_H
|
|
#define WINRT_Windows_UI_Xaml_Media_Imaging_2_H
|
|
#include "winrt/impl/Windows.ApplicationModel.Background.1.h"
|
|
#include "winrt/impl/Windows.Foundation.1.h"
|
|
#include "winrt/impl/Windows.UI.Xaml.1.h"
|
|
#include "winrt/impl/Windows.UI.Xaml.Media.1.h"
|
|
#include "winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h"
|
|
WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media::Imaging
|
|
{
|
|
struct DownloadProgressEventHandler : winrt::Windows::Foundation::IUnknown
|
|
{
|
|
DownloadProgressEventHandler(std::nullptr_t = nullptr) noexcept {}
|
|
DownloadProgressEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
|
|
template <typename L> DownloadProgressEventHandler(L lambda);
|
|
template <typename F> DownloadProgressEventHandler(F* function);
|
|
template <typename O, typename M> DownloadProgressEventHandler(O* object, M method);
|
|
template <typename O, typename M> DownloadProgressEventHandler(com_ptr<O>&& object, M method);
|
|
template <typename O, typename LM> DownloadProgressEventHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
|
template <typename O, typename M> DownloadProgressEventHandler(std::shared_ptr<O>&& object, M method);
|
|
template <typename O, typename LM> DownloadProgressEventHandler(std::weak_ptr<O>&& object, LM&& lambda_or_method);
|
|
auto operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventArgs const& e) const;
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES BitmapImage : winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage,
|
|
impl::base<BitmapImage, winrt::Windows::UI::Xaml::Media::Imaging::BitmapSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<BitmapImage, winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage2, winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3, winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
BitmapImage(std::nullptr_t) noexcept {}
|
|
BitmapImage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage(ptr, take_ownership_from_abi) {}
|
|
BitmapImage();
|
|
explicit BitmapImage(winrt::Windows::Foundation::Uri const& uriSource);
|
|
[[nodiscard]] static auto CreateOptionsProperty();
|
|
[[nodiscard]] static auto UriSourceProperty();
|
|
[[nodiscard]] static auto DecodePixelWidthProperty();
|
|
[[nodiscard]] static auto DecodePixelHeightProperty();
|
|
[[nodiscard]] static auto DecodePixelTypeProperty();
|
|
[[nodiscard]] static auto IsAnimatedBitmapProperty();
|
|
[[nodiscard]] static auto IsPlayingProperty();
|
|
[[nodiscard]] static auto AutoPlayProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES BitmapSource : winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource,
|
|
impl::base<BitmapSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<BitmapSource, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
BitmapSource(std::nullptr_t) noexcept {}
|
|
BitmapSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource(ptr, take_ownership_from_abi) {}
|
|
[[nodiscard]] static auto PixelWidthProperty();
|
|
[[nodiscard]] static auto PixelHeightProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES DownloadProgressEventArgs : winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs
|
|
{
|
|
DownloadProgressEventArgs(std::nullptr_t) noexcept {}
|
|
DownloadProgressEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES RenderTargetBitmap : winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap,
|
|
impl::base<RenderTargetBitmap, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<RenderTargetBitmap, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
RenderTargetBitmap(std::nullptr_t) noexcept {}
|
|
RenderTargetBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap(ptr, take_ownership_from_abi) {}
|
|
RenderTargetBitmap();
|
|
[[nodiscard]] static auto PixelWidthProperty();
|
|
[[nodiscard]] static auto PixelHeightProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES SoftwareBitmapSource : winrt::Windows::UI::Xaml::Media::Imaging::ISoftwareBitmapSource,
|
|
impl::base<SoftwareBitmapSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<SoftwareBitmapSource, winrt::Windows::Foundation::IClosable, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
SoftwareBitmapSource(std::nullptr_t) noexcept {}
|
|
SoftwareBitmapSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::ISoftwareBitmapSource(ptr, take_ownership_from_abi) {}
|
|
SoftwareBitmapSource();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES SurfaceImageSource : winrt::Windows::UI::Xaml::Media::Imaging::ISurfaceImageSource,
|
|
impl::base<SurfaceImageSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<SurfaceImageSource, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
SurfaceImageSource(std::nullptr_t) noexcept {}
|
|
SurfaceImageSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::ISurfaceImageSource(ptr, take_ownership_from_abi) {}
|
|
SurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight);
|
|
SurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES SvgImageSource : winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource,
|
|
impl::base<SvgImageSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<SvgImageSource, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
SvgImageSource(std::nullptr_t) noexcept {}
|
|
SvgImageSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource(ptr, take_ownership_from_abi) {}
|
|
SvgImageSource();
|
|
explicit SvgImageSource(winrt::Windows::Foundation::Uri const& uriSource);
|
|
[[nodiscard]] static auto UriSourceProperty();
|
|
[[nodiscard]] static auto RasterizePixelWidthProperty();
|
|
[[nodiscard]] static auto RasterizePixelHeightProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES SvgImageSourceFailedEventArgs : winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFailedEventArgs
|
|
{
|
|
SvgImageSourceFailedEventArgs(std::nullptr_t) noexcept {}
|
|
SvgImageSourceFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFailedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES SvgImageSourceOpenedEventArgs : winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceOpenedEventArgs
|
|
{
|
|
SvgImageSourceOpenedEventArgs(std::nullptr_t) noexcept {}
|
|
SvgImageSourceOpenedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceOpenedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES VirtualSurfaceImageSource : winrt::Windows::UI::Xaml::Media::Imaging::IVirtualSurfaceImageSource,
|
|
impl::base<VirtualSurfaceImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<VirtualSurfaceImageSource, winrt::Windows::UI::Xaml::Media::Imaging::ISurfaceImageSource, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
VirtualSurfaceImageSource(std::nullptr_t) noexcept {}
|
|
VirtualSurfaceImageSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IVirtualSurfaceImageSource(ptr, take_ownership_from_abi) {}
|
|
VirtualSurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight);
|
|
VirtualSurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES WriteableBitmap : winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmap,
|
|
impl::base<WriteableBitmap, winrt::Windows::UI::Xaml::Media::Imaging::BitmapSource, winrt::Windows::UI::Xaml::Media::ImageSource, winrt::Windows::UI::Xaml::DependencyObject>,
|
|
impl::require<WriteableBitmap, winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource, winrt::Windows::UI::Xaml::Media::IImageSource, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>
|
|
{
|
|
WriteableBitmap(std::nullptr_t) noexcept {}
|
|
WriteableBitmap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmap(ptr, take_ownership_from_abi) {}
|
|
WriteableBitmap(int32_t pixelWidth, int32_t pixelHeight);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES XamlRenderingBackgroundTask : winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTask
|
|
{
|
|
XamlRenderingBackgroundTask(std::nullptr_t) noexcept {}
|
|
XamlRenderingBackgroundTask(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTask(ptr, take_ownership_from_abi) {}
|
|
};
|
|
template <typename D>
|
|
class IXamlRenderingBackgroundTaskOverridesT
|
|
{
|
|
D& shim() noexcept { return *static_cast<D*>(this); }
|
|
D const& shim() const noexcept { return *static_cast<const D*>(this); }
|
|
public:
|
|
using IXamlRenderingBackgroundTaskOverrides = winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTaskOverrides;
|
|
auto OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const;
|
|
};
|
|
}
|
|
#endif
|