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 81af66d336 Code Audit
Replaced all copyright symbols with (c) to improve cross-platform
reading
Added classes to XFX::Audio namespace
Added and updated classes in XFX::Graphics namespace
Updated event function signature
Replaced const char* ToString() with const String& ToString()
2013-06-02 14:32:43 +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;
int GetType() const;
const String& ToString() const;
bool operator !=(const OperatingSystem& right) const;
bool operator ==(const OperatingSystem& right) const;
};
}
#endif //_SYSTEM_OPERATINGSYSTEM_