Icon.h (666B)
1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the MIT License. 3 #pragma once 4 #include "Icon.g.h" 5 #include <winget/Manifest.h> 6 7 namespace winrt::Microsoft::Management::Deployment::implementation 8 { 9 struct Icon : IconT<Icon> 10 { 11 Icon() = default; 12 13 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS) 14 void Initialize(::AppInstaller::Manifest::Icon icon); 15 #endif 16 17 hstring Url(); 18 IconFileType FileType(); 19 IconResolution Resolution(); 20 IconTheme Theme(); 21 com_array<uint8_t> Sha256(); 22 23 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS) 24 private: 25 ::AppInstaller::Manifest::Icon m_icon{}; 26 #endif 27 }; 28 }