winget-cli

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

Interface.h (788B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Rest/Schema/1_5/Interface.h"
      5 
      6 namespace AppInstaller::Repository::Rest::Schema::V1_6
      7 {
      8     // Interface to this schema version exposed through IRestClient.
      9     struct Interface : public V1_5::Interface
     10     {
     11         Interface(const std::string& restApi, const Http::HttpClientHelper& helper, IRestClient::Information information, const Http::HttpClientHelper::HttpRequestHeaders& additionalHeaders = {});
     12 
     13         Interface(const Interface&) = delete;
     14         Interface& operator=(const Interface&) = delete;
     15 
     16         Interface(Interface&&) = default;
     17         Interface& operator=(Interface&&) = default;
     18 
     19         Utility::Version GetVersion() const override;
     20     };
     21 }