winget-cli

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

ConfigurationConflictSetting.h (843B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "ConfigurationConflictSetting.g.h"
      5 
      6 namespace winrt::Microsoft::Management::Configuration::implementation
      7 {
      8     struct ConfigurationConflictSetting : ConfigurationConflictSettingT<ConfigurationConflictSetting>
      9     {
     10         ConfigurationConflictSetting() = default;
     11 
     12 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     13         void Initialize(std::wstring_view name, const IInspectable& firstValue, const IInspectable& secondValue);
     14 #endif
     15 
     16         hstring Name();
     17         IInspectable FirstValue();
     18         IInspectable SecondValue();
     19 
     20 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     21     private:
     22         hstring m_name;
     23         IInspectable m_firstValue = nullptr;
     24         IInspectable m_secondValue = nullptr;
     25 #endif
     26     };
     27 }