aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-07 17:31:41 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-07 17:31:41 -0800
commitc91d8e41b60653b652b11c641f7a5b3d3eab7f6b (patch)
tree6e81f76a7f1067bab8efdbb38e7b25338499f87f /toolsrc/include
parent7a1bc07142577cce32ee88c8d8ef60b386d19b6a (diff)
downloadvcpkg-c91d8e41b60653b652b11c641f7a5b3d3eab7f6b.tar.gz
vcpkg-c91d8e41b60653b652b11c641f7a5b3d3eab7f6b.zip
Introduce vcpkg_info.h/cpp
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg.h2
-rw-r--r--toolsrc/include/vcpkg_info.h10
2 files changed, 10 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg.h b/toolsrc/include/vcpkg.h
index b9d646e70..30d8adbf8 100644
--- a/toolsrc/include/vcpkg.h
+++ b/toolsrc/include/vcpkg.h
@@ -21,6 +21,4 @@ namespace vcpkg
void deinstall_package(const vcpkg_paths& paths, const package_spec& spec, StatusParagraphs& status_db);
void search_file(const vcpkg_paths& paths, const std::string& file_substr, const StatusParagraphs& status_db);
-
- const std::string& version();
} // namespace vcpkg
diff --git a/toolsrc/include/vcpkg_info.h b/toolsrc/include/vcpkg_info.h
new file mode 100644
index 000000000..01da06307
--- /dev/null
+++ b/toolsrc/include/vcpkg_info.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <string>
+
+namespace vcpkg { namespace Info
+{
+ const std::string& version();
+
+ const std::string& email();
+}}