summaryrefslogtreecommitdiff
path: root/include/lldb/Host/windows/HostInfoWindows.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /include/lldb/Host/windows/HostInfoWindows.h
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
downloadsrc-test2-14f1b3e8826ce43b978db93a62d1166055db5394.tar.gz
src-test2-14f1b3e8826ce43b978db93a62d1166055db5394.zip
Notes
Diffstat (limited to 'include/lldb/Host/windows/HostInfoWindows.h')
-rw-r--r--include/lldb/Host/windows/HostInfoWindows.h74
1 files changed, 31 insertions, 43 deletions
diff --git a/include/lldb/Host/windows/HostInfoWindows.h b/include/lldb/Host/windows/HostInfoWindows.h
index 23d52e7810e7..5a5d72c2466c 100644
--- a/include/lldb/Host/windows/HostInfoWindows.h
+++ b/include/lldb/Host/windows/HostInfoWindows.h
@@ -10,51 +10,39 @@
#ifndef lldb_Host_windows_HostInfoWindows_h_
#define lldb_Host_windows_HostInfoWindows_h_
-#include "lldb/Host/HostInfoBase.h"
#include "lldb/Host/FileSpec.h"
+#include "lldb/Host/HostInfoBase.h"
+
+namespace lldb_private {
+
+class HostInfoWindows : public HostInfoBase {
+ friend class HostInfoBase;
+
+private:
+ // Static class, unconstructable.
+ HostInfoWindows();
+ ~HostInfoWindows();
+
+public:
+ 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);
-namespace lldb_private
-{
-
-class HostInfoWindows : public HostInfoBase
-{
- friend class HostInfoBase;
-
- private:
- // Static class, unconstructable.
- HostInfoWindows();
- ~HostInfoWindows();
-
- public:
- 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);
-
- private:
- static FileSpec m_program_filespec;
+private:
+ static FileSpec m_program_filespec;
};
}