winget-cli

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

ChannelTable.h (640B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Microsoft/Schema/1_0/OneToOneTable.h"
      5 
      6 
      7 namespace AppInstaller::Repository::Microsoft::Schema::V1_0
      8 {
      9     namespace details
     10     {
     11         using namespace std::string_view_literals;
     12 
     13         struct ChannelTableInfo
     14         {
     15             inline static constexpr std::string_view TableName() { return "channels"sv; }
     16             inline static constexpr std::string_view ValueName() { return "channel"sv; }
     17         };
     18     }
     19 
     20     // The table for Channel.
     21     using ChannelTable = OneToOneTable<details::ChannelTableInfo>;
     22 }