2010-12-04 16:14:34 +00:00
|
|
|
|
/********************************************************
|
|
|
|
|
* OperatingSystem.h *
|
|
|
|
|
* *
|
|
|
|
|
* XFX OperatingSystem definition file *
|
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
2011-11-07 01:29:50 +00:00
|
|
|
|
#ifndef _SYSTEM_OPERATINGSYSTEM_
|
|
|
|
|
#define _SYSTEM_OPERATINGSYSTEM_
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
#include "Enums.h"
|
2011-11-07 01:29:50 +00:00
|
|
|
|
#include <System/Object.h>
|
|
|
|
|
#include <System/Version.h>
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
|
{
|
2011-11-07 01:29:50 +00:00
|
|
|
|
// Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.
|
|
|
|
|
class OperatingSystem : virtual Object
|
2010-12-04 16:14:34 +00:00
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
OperatingSystem();
|
|
|
|
|
|
|
|
|
|
public:
|
2011-11-07 01:29:50 +00:00
|
|
|
|
const PlatformID_t Platform;
|
|
|
|
|
const System::Version Version;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2011-11-07 01:29:50 +00:00
|
|
|
|
OperatingSystem(PlatformID_t platform, System::Version version);
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
OperatingSystem Clone();
|
2011-11-07 01:29:50 +00:00
|
|
|
|
char* ToString();
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2011-11-07 01:29:50 +00:00
|
|
|
|
#endif //_SYSTEM_OPERATINGSYSTEM_
|