aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/SourceParagraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/include/SourceParagraph.h')
-rw-r--r--toolsrc/include/SourceParagraph.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolsrc/include/SourceParagraph.h b/toolsrc/include/SourceParagraph.h
new file mode 100644
index 000000000..72dca8324
--- /dev/null
+++ b/toolsrc/include/SourceParagraph.h
@@ -0,0 +1,20 @@
+#pragma once
+
+#include <vector>
+#include <unordered_map>
+
+namespace vcpkg
+{
+ struct SourceParagraph
+ {
+ SourceParagraph();
+
+ explicit SourceParagraph(const 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;
+ };
+}