diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-07 17:31:41 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-07 17:31:41 -0800 |
| commit | c91d8e41b60653b652b11c641f7a5b3d3eab7f6b (patch) | |
| tree | 6e81f76a7f1067bab8efdbb38e7b25338499f87f /toolsrc/include | |
| parent | 7a1bc07142577cce32ee88c8d8ef60b386d19b6a (diff) | |
| download | vcpkg-c91d8e41b60653b652b11c641f7a5b3d3eab7f6b.tar.gz vcpkg-c91d8e41b60653b652b11c641f7a5b3d3eab7f6b.zip | |
Introduce vcpkg_info.h/cpp
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg.h | 2 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_info.h | 10 |
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(); +}} |
