mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 14:59:03 +08:00
24 lines
543 B
C++
24 lines
543 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <unordered_map>
|
|
|
|
namespace vcpkg
|
|
{
|
|
struct SourceParagraph
|
|
{
|
|
static const std::vector<std::string>& get_list_of_valid_entries();
|
|
|
|
SourceParagraph();
|
|
|
|
explicit SourceParagraph(std::unordered_map<std::string, std::string> fields);
|
|
|
|
std::string name;
|
|
std::string version;
|
|
std::string description;
|
|
std::string maintainer;
|
|
std::vector<std::string> depends;
|
|
std::unordered_map<std::string, std::string> unparsed_fields;
|
|
};
|
|
}
|