Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cSystemHelper.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cSystemHelper_H
7 #define _INC_cSystemHelper_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
12 #include "cSystemInfo.h"
13 #include "cFilePath.h"
14 
15 namespace Gray
16 {
17  class GRAYCORE_LINK cSystemHelper : public cSingleton < cSystemHelper >
18  {
22 
23  friend class cSingleton < cSystemHelper >;
24 
25  protected:
27 
28  public:
30 
31  public:
32  cSystemHelper();
33 
34  cString get_OSInfoStr() const;
35  cStringF get_SystemName();
36 
37  static cStringF GRAYCALL get_SystemDir();
38  };
39 }
40 
41 #endif
#define GRAYCORE_LINK
Definition: GrayCore.h:47
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
Definition: cSingleton.h:127
Definition: cSystemHelper.h:18
cSystemInfo & m_Info
Definition: cSystemHelper.h:29
cStringF m_sSystemName
Cached (or overridden for debug purposes) system name.
Definition: cSystemHelper.h:26
OS build type name. OS target known at compile time. Actually run environment may vary of course.
Definition: cSystemInfo.h:47
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14