aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg_System.h
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-03-31 17:24:45 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-31 17:35:38 -0700
commitc84765601bbe49a6ec2e252ec681fe843212230f (patch)
tree0a67514bdbff13d6b142d6657c542b62076555ad /toolsrc/include/vcpkg_System.h
parenta6aa410f9fb7855b9cc94bae00d15fea8018250e (diff)
downloadvcpkg-c84765601bbe49a6ec2e252ec681fe843212230f.tar.gz
vcpkg-c84765601bbe49a6ec2e252ec681fe843212230f.zip
Move Environment::get_program_files() to System::get_program_files()
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
-rw-r--r--toolsrc/include/vcpkg_System.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h
index 84fe43988..33aad646c 100644
--- a/toolsrc/include/vcpkg_System.h
+++ b/toolsrc/include/vcpkg_System.h
@@ -42,7 +42,7 @@ namespace vcpkg::System
}
template <class Arg1, class...Args>
- void print(const color c, const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs)
+ void print(const color c, const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs)
{
return print(c, Strings::format(messageTemplate, messageArg1, messageArgs...));
}
@@ -62,4 +62,8 @@ namespace vcpkg::System
optional<std::wstring> get_environmental_variable(const cwstring_view varname) noexcept;
optional<std::wstring> get_registry_string(HKEY base, const cwstring_view subkey, const cwstring_view valuename);
+
+ const fs::path& get_ProgramFiles_32_bit();
+
+ const fs::path& get_ProgramFiles_platform_bitness();
}