diff options
Diffstat (limited to 'include/lldb/Host/windows/HostInfoWindows.h')
-rw-r--r-- | include/lldb/Host/windows/HostInfoWindows.h | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/include/lldb/Host/windows/HostInfoWindows.h b/include/lldb/Host/windows/HostInfoWindows.h index 022e15533d31..23d52e7810e7 100644 --- a/include/lldb/Host/windows/HostInfoWindows.h +++ b/include/lldb/Host/windows/HostInfoWindows.h @@ -26,14 +26,29 @@ class HostInfoWindows : public HostInfoBase ~HostInfoWindows(); public: - static size_t GetPageSize(); - - static bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update); - static bool GetOSBuildString(std::string &s); - static bool GetOSKernelDescription(std::string &s); - static bool GetHostname(std::string &s); - static FileSpec GetProgramFileSpec(); - static FileSpec GetDefaultShell(); + static void + Initialize(); + static void + Terminate(); + + static size_t + GetPageSize(); + + static bool + GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update); + static bool + GetOSBuildString(std::string &s); + static bool + GetOSKernelDescription(std::string &s); + static bool + GetHostname(std::string &s); + static FileSpec + GetProgramFileSpec(); + static FileSpec + GetDefaultShell(); + + static bool + GetEnvironmentVar(const std::string &var_name, std::string &var); protected: static bool ComputePythonDirectory(FileSpec &file_spec); |