// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_ApplicationModel_SocialInfo_0_H #define WINRT_Windows_ApplicationModel_SocialInfo_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct IAsyncAction; struct Uri; } WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging { struct BitmapSize; } WINRT_EXPORT namespace winrt::Windows::Storage::Streams { struct IInputStream; } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo { enum class SocialFeedItemStyle : int32_t { Default = 0, Photo = 1, }; enum class SocialFeedKind : int32_t { HomeFeed = 0, ContactFeed = 1, Dashboard = 2, }; enum class SocialFeedUpdateMode : int32_t { Append = 0, Replace = 1, }; enum class SocialItemBadgeStyle : int32_t { Hidden = 0, Visible = 1, VisibleWithCount = 2, }; struct ISocialFeedChildItem; struct ISocialFeedContent; struct ISocialFeedItem; struct ISocialFeedSharedItem; struct ISocialItemThumbnail; struct ISocialUserInfo; struct SocialFeedChildItem; struct SocialFeedContent; struct SocialFeedItem; struct SocialFeedSharedItem; struct SocialItemThumbnail; struct SocialUserInfo; struct SocialInfoContract; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedChildItem"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedContent"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedItem"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedSharedItem"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialItemThumbnail"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialUserInfo"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedItemStyle"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedKind"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialFeedUpdateMode"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialItemBadgeStyle"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedChildItem"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedContent"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedItem"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialFeedSharedItem"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialItemThumbnail"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.ISocialUserInfo"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.SocialInfo.SocialInfoContract"; template <> inline constexpr guid guid_v{ 0x0B6A985A,0xD59D,0x40BE,{ 0x98,0x0C,0x48,0x8A,0x2A,0xB3,0x0A,0x83 } }; // 0B6A985A-D59D-40BE-980C-488A2AB30A83 template <> inline constexpr guid guid_v{ 0xA234E429,0x3E39,0x494D,{ 0xA3,0x7C,0xF4,0x62,0xA2,0x49,0x45,0x14 } }; // A234E429-3E39-494D-A37C-F462A2494514 template <> inline constexpr guid guid_v{ 0x4F1392AB,0x1F72,0x4D33,{ 0xB6,0x95,0xDE,0x3E,0x1D,0xB6,0x03,0x17 } }; // 4F1392AB-1F72-4D33-B695-DE3E1DB60317 template <> inline constexpr guid guid_v{ 0x7BFB9E40,0xA6AA,0x45A7,{ 0x9F,0xF6,0x54,0xC4,0x21,0x05,0xDD,0x1F } }; // 7BFB9E40-A6AA-45A7-9FF6-54C42105DD1F template <> inline constexpr guid guid_v{ 0x5CBF831A,0x3F08,0x497F,{ 0x91,0x7F,0x57,0xE0,0x9D,0x84,0xB1,0x41 } }; // 5CBF831A-3F08-497F-917F-57E09D84B141 template <> inline constexpr guid guid_v{ 0x9E5E1BD1,0x90D0,0x4E1D,{ 0x95,0x54,0x84,0x4D,0x46,0x60,0x7F,0x61 } }; // 9E5E1BD1-90D0-4E1D-9554-844D46607F61 template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Author(void**) noexcept = 0; virtual int32_t __stdcall get_PrimaryContent(void**) noexcept = 0; virtual int32_t __stdcall get_SecondaryContent(void**) noexcept = 0; virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; virtual int32_t __stdcall get_Thumbnails(void**) noexcept = 0; virtual int32_t __stdcall get_SharedItem(void**) noexcept = 0; virtual int32_t __stdcall put_SharedItem(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Title(void**) noexcept = 0; virtual int32_t __stdcall put_Title(void*) noexcept = 0; virtual int32_t __stdcall get_Message(void**) noexcept = 0; virtual int32_t __stdcall put_Message(void*) noexcept = 0; virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Author(void**) noexcept = 0; virtual int32_t __stdcall get_PrimaryContent(void**) noexcept = 0; virtual int32_t __stdcall get_SecondaryContent(void**) noexcept = 0; virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; virtual int32_t __stdcall get_Thumbnails(void**) noexcept = 0; virtual int32_t __stdcall get_SharedItem(void**) noexcept = 0; virtual int32_t __stdcall put_SharedItem(void*) noexcept = 0; virtual int32_t __stdcall get_BadgeStyle(int32_t*) noexcept = 0; virtual int32_t __stdcall put_BadgeStyle(int32_t) noexcept = 0; virtual int32_t __stdcall get_BadgeCountValue(int32_t*) noexcept = 0; virtual int32_t __stdcall put_BadgeCountValue(int32_t) noexcept = 0; virtual int32_t __stdcall get_RemoteId(void**) noexcept = 0; virtual int32_t __stdcall put_RemoteId(void*) noexcept = 0; virtual int32_t __stdcall get_ChildItem(void**) noexcept = 0; virtual int32_t __stdcall put_ChildItem(void*) noexcept = 0; virtual int32_t __stdcall get_Style(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Style(int32_t) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_OriginalSource(void**) noexcept = 0; virtual int32_t __stdcall put_OriginalSource(void*) noexcept = 0; virtual int32_t __stdcall get_Content(void**) noexcept = 0; virtual int32_t __stdcall get_Timestamp(int64_t*) noexcept = 0; virtual int32_t __stdcall put_Timestamp(int64_t) noexcept = 0; virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; virtual int32_t __stdcall put_Thumbnail(void*) noexcept = 0; virtual int32_t __stdcall get_Thumbnail(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; virtual int32_t __stdcall get_ImageUri(void**) noexcept = 0; virtual int32_t __stdcall put_ImageUri(void*) noexcept = 0; virtual int32_t __stdcall get_BitmapSize(struct struct_Windows_Graphics_Imaging_BitmapSize*) noexcept = 0; virtual int32_t __stdcall put_BitmapSize(struct struct_Windows_Graphics_Imaging_BitmapSize) noexcept = 0; virtual int32_t __stdcall SetImageAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; virtual int32_t __stdcall put_DisplayName(void*) noexcept = 0; virtual int32_t __stdcall get_UserName(void**) noexcept = 0; virtual int32_t __stdcall put_UserName(void*) noexcept = 0; virtual int32_t __stdcall get_RemoteId(void**) noexcept = 0; virtual int32_t __stdcall put_RemoteId(void*) noexcept = 0; virtual int32_t __stdcall get_TargetUri(void**) noexcept = 0; virtual int32_t __stdcall put_TargetUri(void*) noexcept = 0; }; }; template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem { [[nodiscard]] auto Author() const; [[nodiscard]] auto PrimaryContent() const; [[nodiscard]] auto SecondaryContent() const; [[nodiscard]] auto Timestamp() const; auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; [[nodiscard]] auto TargetUri() const; auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; [[nodiscard]] auto Thumbnails() const; [[nodiscard]] auto SharedItem() const; auto SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem; }; template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent { [[nodiscard]] auto Title() const; auto Title(param::hstring const& value) const; [[nodiscard]] auto Message() const; auto Message(param::hstring const& value) const; [[nodiscard]] auto TargetUri() const; auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent; }; template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem { [[nodiscard]] auto Author() const; [[nodiscard]] auto PrimaryContent() const; [[nodiscard]] auto SecondaryContent() const; [[nodiscard]] auto Timestamp() const; auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; [[nodiscard]] auto TargetUri() const; auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; [[nodiscard]] auto Thumbnails() const; [[nodiscard]] auto SharedItem() const; auto SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const; [[nodiscard]] auto BadgeStyle() const; auto BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const; [[nodiscard]] auto BadgeCountValue() const; auto BadgeCountValue(int32_t value) const; [[nodiscard]] auto RemoteId() const; auto RemoteId(param::hstring const& value) const; [[nodiscard]] auto ChildItem() const; auto ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const; [[nodiscard]] auto Style() const; auto Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem; }; template struct consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem { [[nodiscard]] auto OriginalSource() const; auto OriginalSource(winrt::Windows::Foundation::Uri const& value) const; [[nodiscard]] auto Content() const; [[nodiscard]] auto Timestamp() const; auto Timestamp(winrt::Windows::Foundation::DateTime const& value) const; [[nodiscard]] auto TargetUri() const; auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; auto Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const; [[nodiscard]] auto Thumbnail() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem; }; template struct consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail { [[nodiscard]] auto TargetUri() const; auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; [[nodiscard]] auto ImageUri() const; auto ImageUri(winrt::Windows::Foundation::Uri const& value) const; [[nodiscard]] auto BitmapSize() const; auto BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const; auto SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail; }; template struct consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo { [[nodiscard]] auto DisplayName() const; auto DisplayName(param::hstring const& value) const; [[nodiscard]] auto UserName() const; auto UserName(param::hstring const& value) const; [[nodiscard]] auto RemoteId() const; auto RemoteId(param::hstring const& value) const; [[nodiscard]] auto TargetUri() const; auto TargetUri(winrt::Windows::Foundation::Uri const& value) const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo; }; } #endif