2013-06-02 14:32:43 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* OperatingSystem.h *
|
|
|
|
* *
|
2013-07-12 21:30:13 +02:00
|
|
|
* XFX System::OperatingSystem class definition file *
|
2013-06-02 14:32:43 +02:00
|
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _SYSTEM_OPERATINGSYSTEM_
|
|
|
|
#define _SYSTEM_OPERATINGSYSTEM_
|
|
|
|
|
|
|
|
#include "Enums.h"
|
|
|
|
#include <System/Object.h>
|
|
|
|
#include <System/Version.h>
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class OperatingSystem : public Object
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
OperatingSystem();
|
|
|
|
|
|
|
|
public:
|
|
|
|
const PlatformID_t Platform;
|
|
|
|
const System::Version Version;
|
|
|
|
|
|
|
|
OperatingSystem(const PlatformID_t platform, const System::Version version);
|
|
|
|
OperatingSystem(const OperatingSystem &obj);
|
|
|
|
|
|
|
|
OperatingSystem Clone() const;
|
|
|
|
bool Equals(const OperatingSystem other) const;
|
|
|
|
int GetHashCode() const;
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
|
|
|
const String ToString() const;
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
bool operator !=(const OperatingSystem& right) const;
|
|
|
|
bool operator ==(const OperatingSystem& right) const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_SYSTEM_OPERATINGSYSTEM_
|