diff options
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
| -rw-r--r-- | toolsrc/include/vcpkg_System.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h index 33aad646c..2c2b945f4 100644 --- a/toolsrc/include/vcpkg_System.h +++ b/toolsrc/include/vcpkg_System.h @@ -15,13 +15,13 @@ namespace vcpkg::System std::string output; }; - int cmd_execute_clean(const cwstring_view cmd_line); + int cmd_execute_clean(const CWStringView cmd_line); - int cmd_execute(const cwstring_view cmd_line); + int cmd_execute(const CWStringView cmd_line); - exit_code_and_output cmd_execute_and_capture_output(const cwstring_view cmd_line); + exit_code_and_output cmd_execute_and_capture_output(const CWStringView cmd_line); - std::wstring create_powershell_script_cmd(const fs::path& script_path, const cwstring_view args = L""); + std::wstring create_powershell_script_cmd(const fs::path& script_path, const CWStringView args = L""); enum class color { @@ -30,10 +30,10 @@ namespace vcpkg::System warning = 14, }; - void print(const cstring_view message); - void println(const cstring_view message); - void print(const color c, const cstring_view message); - void println(const color c, const cstring_view message); + void print(const CStringView message); + void println(const CStringView message); + void print(const color c, const CStringView message); + void println(const color c, const CStringView message); template <class Arg1, class...Args> void print(const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs) @@ -59,9 +59,9 @@ namespace vcpkg::System return println(c, Strings::format(messageTemplate, messageArg1, messageArgs...)); } - optional<std::wstring> get_environmental_variable(const cwstring_view varname) noexcept; + optional<std::wstring> get_environmental_variable(const CWStringView varname) noexcept; - optional<std::wstring> get_registry_string(HKEY base, const cwstring_view subkey, const cwstring_view valuename); + optional<std::wstring> get_registry_string(HKEY base, const CWStringView subkey, const CWStringView valuename); const fs::path& get_ProgramFiles_32_bit(); |
