From c91d8e41b60653b652b11c641f7a5b3d3eab7f6b Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 7 Nov 2016 17:31:41 -0800 Subject: Introduce vcpkg_info.h/cpp --- toolsrc/include/vcpkg.h | 2 -- toolsrc/include/vcpkg_info.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 toolsrc/include/vcpkg_info.h (limited to 'toolsrc/include') 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 + +namespace vcpkg { namespace Info +{ + const std::string& version(); + + const std::string& email(); +}} -- cgit v1.2.3