aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/Paragraphs.h11
-rw-r--r--toolsrc/include/vcpkg.h2
2 files changed, 11 insertions, 2 deletions
diff --git a/toolsrc/include/Paragraphs.h b/toolsrc/include/Paragraphs.h
new file mode 100644
index 000000000..22aaefe98
--- /dev/null
+++ b/toolsrc/include/Paragraphs.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <filesystem>
+#include <unordered_map>
+
+namespace vcpkg { namespace Paragraphs
+{
+ namespace fs = std::tr2::sys;
+ std::vector<std::unordered_map<std::string, std::string>> get_paragraphs(const fs::path& control_path);
+ std::vector<std::unordered_map<std::string, std::string>> parse_paragraphs(const std::string& str);
+}}
diff --git a/toolsrc/include/vcpkg.h b/toolsrc/include/vcpkg.h
index dc5933f10..1715a40a5 100644
--- a/toolsrc/include/vcpkg.h
+++ b/toolsrc/include/vcpkg.h
@@ -14,8 +14,6 @@ namespace vcpkg
extern bool g_do_dry_run;
- std::vector<std::unordered_map<std::string, std::string>> get_paragraphs(const fs::path& control_path);
- std::vector<std::unordered_map<std::string, std::string>> parse_paragraphs(const std::string& str);
std::string shorten_description(const std::string& desc);
StatusParagraphs database_load_check(const vcpkg_paths& paths);