SourceAgreement.h (692B)
1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the MIT License. 3 #pragma once 4 #include "SourceAgreement.g.h" 5 #include <winget/RepositorySource.h> 6 7 namespace winrt::Microsoft::Management::Deployment::implementation 8 { 9 struct SourceAgreement : SourceAgreementT<SourceAgreement> 10 { 11 SourceAgreement() = default; 12 13 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS) 14 void Initialize(::AppInstaller::Repository::SourceAgreement sourceAgreement); 15 #endif 16 17 hstring Label(); 18 hstring Text(); 19 hstring Url(); 20 21 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS) 22 private: 23 ::AppInstaller::Repository::SourceAgreement m_sourceAgreement{}; 24 #endif 25 }; 26 }