1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/OperatingSystem.h
Tom Lint 52ef14a94b Transition from SVN to Git
Added implicit conversion to base types to all primary types (UInt32 et
al)
Added implicit conversion from System::String to const char*
2013-05-05 18:18:41 +02:00

41 lines
1.1 KiB
C++

/********************************************************
* OperatingSystem.h *
* *
* XFX OperatingSystem definition file *
* Copyright © 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;
int GetType() const;
const char* ToString() const;
bool operator !=(const OperatingSystem& right) const;
bool operator ==(const OperatingSystem& right) const;
};
}
#endif //_SYSTEM_OPERATINGSYSTEM_