winget-cli

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

RemovePackageCatalogOptions.h (1060B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "RemovePackageCatalogOptions.g.h"
      5 #include "public/ComClsids.h"
      6 
      7 namespace winrt::Microsoft::Management::Deployment::implementation
      8 {
      9     [uuid(WINGET_OUTOFPROC_COM_CLSID_RemovePackageCatalogOptions)]
     10     struct RemovePackageCatalogOptions : RemovePackageCatalogOptionsT<RemovePackageCatalogOptions>
     11     {
     12         RemovePackageCatalogOptions() = default;
     13 
     14         hstring Name();
     15         void Name(hstring const& value);
     16 
     17         bool PreserveData();
     18         void PreserveData(bool const& value);
     19 
     20 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     21     private:
     22         hstring m_name = L"";
     23         bool m_preserveData = false;
     24 #endif
     25     };
     26 }
     27 
     28 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     29 namespace winrt::Microsoft::Management::Deployment::factory_implementation
     30 {
     31     struct RemovePackageCatalogOptions : RemovePackageCatalogOptionsT<RemovePackageCatalogOptions, implementation::RemovePackageCatalogOptions>
     32     {
     33     };
     34 }
     35 #endif