Nebula
Loading...
Searching...
No Matches
win32environment.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13#include "core/types.h"
14#include "util/string.h"
15
16//------------------------------------------------------------------------------
17namespace Win32
18{
20{
21public:
23 static bool Exists(const Util::String& envVarName);
25 static Util::String Read(const Util::String& envVarName);
26};
27
28} // namespace Win32
29//------------------------------------------------------------------------------
30
Provides read-access to environment variables.
Definition win32environment.h:20
static Util::String Read(const Util::String &envVarName)
get value of existing env-variable
Definition win32environment.cc:32
static bool Exists(const Util::String &envVarName)
return true if env-variable exists
Definition win32environment.cc:17
[TODO: Describe Win32 subsystem]
Nebula's universal string class.
Definition string.h:50