1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/OperatingSystem.h

43 lines
1.2 KiB
C
Raw Permalink Normal View History

/*****************************************************************************
* OperatingSystem.h *
* *
* XFX System::OperatingSystem class definition file *
* Copyright (c) XFX Team. All Rights Reserved *
*****************************************************************************/
#ifndef _SYSTEM_OPERATINGSYSTEM_
#define _SYSTEM_OPERATINGSYSTEM_
#include "Enums.h"
#include <System/Object.h>
#include <System/Version.h>
namespace System
{
/**
* Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.
*/
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;
static const Type& GetType();
const String ToString() const;
bool operator !=(const OperatingSystem& right) const;
bool operator ==(const OperatingSystem& right) const;
};
}
#endif //_SYSTEM_OPERATINGSYSTEM_