8 #ifndef META_OCEAN_SYSTEM_OPERATING_SYSTEM_H
9 #define META_OCEAN_SYSTEM_OPERATING_SYSTEM_H
36 OSID_MICROSOFT_WINDOWS = 0x00001000,
38 OSID_MICROSOFT_WINDOWS_CLIENT = OSID_MICROSOFT_WINDOWS | 0x00000001,
40 OSID_MICROSOFT_WINDOWS_SERVER = OSID_MICROSOFT_WINDOWS | 0x00000002,
43 OSID_MICROSOFT_WINDOWS_2000 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000020,
45 OSID_MICROSOFT_WINDOWS_XP = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000030,
47 OSID_MICROSOFT_WINDOWS_VISTA = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000050,
49 OSID_MICROSOFT_WINDOWS_7 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000070,
51 OSID_MICROSOFT_WINDOWS_8 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000080,
53 OSID_MICROSOFT_WINDOWS_8_1 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000090,
55 OSID_MICROSOFT_WINDOWS_10 = OSID_MICROSOFT_WINDOWS_CLIENT | 0x00000100,
58 OSID_MICROSOFT_WINDOWS_SERVER_2003 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000030,
60 OSID_MICROSOFT_WINDOWS_SERVER_2008 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000050,
62 OSID_MICROSOFT_WINDOWS_SERVER_2012 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000090,
64 OSID_MICROSOFT_WINDOWS_SERVER_2016 = OSID_MICROSOFT_WINDOWS_SERVER | 0x00000100,
67 OSID_MACINTOSH_OS = 0x00010000,
69 OSID_MACINTOSH_OS_X = OSID_MACINTOSH_OS | 0x00000001,
72 OSID_ANDROID = 0x00100000,
75 OSID_LINUX = 0x01000000,
93 static std::wstring
name(
const bool addVersion =
true);
This class implements functions for the operating system.
Definition: OperatingSystem.h:24
static std::wstring name(const bool addVersion=true)
Returns the name of the current operating system.
OperatingSystemId
Definition of individual operating systems.
Definition: OperatingSystem.h:31
@ OSID_UNKNOWN
Unknown operating system.
Definition: OperatingSystem.h:33
static OperatingSystemId id(std::wstring *version=nullptr)
Returns the id of the current operating system.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15