winget-cli

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

FindUnitProcessorsOptions.cpp (1275B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #include "pch.h"
      4 #include "FindUnitProcessorsOptions.h"
      5 #include "FindUnitProcessorsOptions.g.cpp"
      6 
      7 namespace winrt::Microsoft::Management::Configuration::implementation
      8 {
      9     hstring FindUnitProcessorsOptions::SearchPaths() const
     10     {
     11         return m_searchPaths;
     12     }
     13 
     14     void FindUnitProcessorsOptions::SearchPaths(hstring const& value)
     15     {
     16         m_searchPaths = value;
     17     }
     18 
     19     bool FindUnitProcessorsOptions::SearchPathsExclusive() const
     20     {
     21         return m_searchPathsExclusive;
     22     }
     23 
     24     void FindUnitProcessorsOptions::SearchPathsExclusive(bool value)
     25     {
     26         m_searchPathsExclusive = value;
     27     }
     28 
     29     Microsoft::Management::Configuration::ConfigurationUnitDetailFlags FindUnitProcessorsOptions::UnitDetailFlags() const
     30     {
     31         return m_detailFlags;
     32     }
     33 
     34     void FindUnitProcessorsOptions::UnitDetailFlags(Microsoft::Management::Configuration::ConfigurationUnitDetailFlags value)
     35     {
     36         m_detailFlags = value;
     37     }
     38 
     39     HRESULT STDMETHODCALLTYPE FindUnitProcessorsOptions::SetLifetimeWatcher(IUnknown* watcher)
     40     {
     41         return AppInstaller::WinRT::LifetimeWatcherBase::SetLifetimeWatcher(watcher);
     42     }
     43 }