|
|
@@ -47,28 +47,29 @@ public: |
|
|
|
/** The set of possible results of the getOperatingSystemType() method. */
|
|
|
|
enum OperatingSystemType
|
|
|
|
{
|
|
|
|
UnknownOS = 0,
|
|
|
|
|
|
|
|
Linux = 0x2000,
|
|
|
|
Android = 0x3000,
|
|
|
|
iOS = 0x8000,
|
|
|
|
|
|
|
|
MacOSX_10_4 = 0x1004,
|
|
|
|
MacOSX_10_5 = 0x1005,
|
|
|
|
MacOSX_10_6 = 0x1006,
|
|
|
|
MacOSX_10_7 = 0x1007,
|
|
|
|
MacOSX_10_8 = 0x1008,
|
|
|
|
MacOSX_10_9 = 0x1009,
|
|
|
|
|
|
|
|
Win2000 = 0x4105,
|
|
|
|
WinXP = 0x4106,
|
|
|
|
WinVista = 0x4107,
|
|
|
|
Windows7 = 0x4108,
|
|
|
|
Windows8_0 = 0x4109,
|
|
|
|
Windows8_1 = 0x410a,
|
|
|
|
|
|
|
|
Windows = 0x4000, /**< To test whether any version of Windows is running,
|
|
|
|
you can use the expression ((getOperatingSystemType() & Windows) != 0). */
|
|
|
|
UnknownOS = 0,
|
|
|
|
|
|
|
|
Linux = 0x2000,
|
|
|
|
Android = 0x3000,
|
|
|
|
iOS = 0x8000,
|
|
|
|
|
|
|
|
MacOSX_10_4 = 0x1004,
|
|
|
|
MacOSX_10_5 = 0x1005,
|
|
|
|
MacOSX_10_6 = 0x1006,
|
|
|
|
MacOSX_10_7 = 0x1007,
|
|
|
|
MacOSX_10_8 = 0x1008,
|
|
|
|
MacOSX_10_9 = 0x1009,
|
|
|
|
MacOSX_10_10 = 0x100a,
|
|
|
|
|
|
|
|
Win2000 = 0x4105,
|
|
|
|
WinXP = 0x4106,
|
|
|
|
WinVista = 0x4107,
|
|
|
|
Windows7 = 0x4108,
|
|
|
|
Windows8_0 = 0x4109,
|
|
|
|
Windows8_1 = 0x410a,
|
|
|
|
|
|
|
|
Windows = 0x4000, /**< To test whether any version of Windows is running,
|
|
|
|
you can use the expression ((getOperatingSystemType() & Windows) != 0). */
|
|
|
|
};
|
|
|
|
|
|
|
|
/** Returns the type of operating system we're running on.
|
|
|
|