aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg_System.h
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 14:21:51 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:41 -0700
commit604d0e58dab76f8ab31eb4f7807f7b561c4d571d (patch)
tree56c5f18eaa5cc9e3fa7129a7479e243c4db44988 /toolsrc/include/vcpkg_System.h
parent80e48c2756cc2c453ba221fe38c32f969d5139ea (diff)
downloadvcpkg-604d0e58dab76f8ab31eb4f7807f7b561c4d571d.tar.gz
vcpkg-604d0e58dab76f8ab31eb4f7807f7b561c4d571d.zip
cstring_view -> CStringView
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
-rw-r--r--toolsrc/include/vcpkg_System.h20
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();