1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
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

47 lines
1.5 KiB
C++

/*****************************************************************************
* Version.h *
* *
* XFX Version definition file *
* Copyright (c) XFX Team. All Rights Reserved *
*****************************************************************************/
#ifndef _SYSTEM_VERSION_
#define _SYSTEM_VERSION_
#include "Interfaces.h"
namespace System
{
// Represents the version number for a common language runtime assembly.
class Version : public IComparable<Version>, public IEquatable<Version>, public Object
{
public:
const int Build;
const int Major;
const int Minor;
const int Revision;
Version(const int major, const int minor);
Version(const int major, const int minor, const int build);
Version(const int major, const int minor, const int build, const int revision);
Version(const Version &obj);
Version Clone() const;
int CompareTo(const Version value) const;
bool Equals(Object const * const obj) const;
bool Equals(const Version obj) const;
int GetHashCode() const;
int GetType() const;
const String& ToString() const;
const String& ToString(const int fieldCount) const;
bool operator !=(const Version& other) const;
bool operator <(const Version& other) const;
bool operator <=(const Version& other) const;
bool operator ==(const Version& other) const;
bool operator >(const Version& other) const;
bool operator >=(const Version& other) const;
};
}
#endif //_SYSTEM_VERSION_