winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

PackageCatalogInfo.h (1059B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "PackageCatalogInfo.g.h"
      5 #include <winget/RepositorySource.h>
      6 
      7 namespace winrt::Microsoft::Management::Deployment::implementation
      8 {
      9     struct PackageCatalogInfo : PackageCatalogInfoT<PackageCatalogInfo>
     10     {
     11         PackageCatalogInfo() = default;
     12 
     13 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     14         void Initialize(const ::AppInstaller::Repository::SourceDetails& sourceDetails);
     15         ::AppInstaller::Repository::SourceDetails& GetSourceDetails();
     16 #endif
     17 
     18         hstring Id();
     19         hstring Name();
     20         hstring Type();
     21         hstring Argument();
     22         winrt::Windows::Foundation::DateTime LastUpdateTime();
     23         winrt::Microsoft::Management::Deployment::PackageCatalogOrigin Origin();
     24         winrt::Microsoft::Management::Deployment::PackageCatalogTrustLevel TrustLevel();
     25         bool Explicit();
     26 
     27 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     28     private:
     29         ::AppInstaller::Repository::SourceDetails m_sourceDetails;
     30 #endif
     31     };
     32 }