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 66a012689c Changed Object::GetType to static
DependencyProperties can now (sort of) be registered
2013-07-11 17:25:49 +02:00

41 lines
1.2 KiB
C++

/*****************************************************************************
* OperatingSystem.h *
* *
* XFX System::OperatingSystem 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 int GetType();
const String& ToString() const;
bool operator !=(const OperatingSystem& right) const;
bool operator ==(const OperatingSystem& right) const;
};
}
#endif //_SYSTEM_OPERATINGSYSTEM_