1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 40c4811c04 Got everything to compile again.
Began transforming of current API to represent XNA 4.0, which is cleaner.
Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating)
Currently hunting down GraphicsDevice initialization
Up next: (hopefully successful) rendering of primitives
2012-09-28 20:36:02 +00:00

38 lines
870 B
C++

#ifndef _SYSTEM_UINT16_
#define _SYSTEM_UINT16_
#include <System/Interfaces.h>
namespace System
{
class String;
// Represents an unsigned, 16-bit integer.
struct UInt16 : IComparable<UInt16>, IEquatable<UInt16>, Object
{
private:
ushort value;
public:
static const ushort MaxValue;
static const ushort MinValue;
UInt16(const UInt16 &obj);
UInt16(const ushort &obj);
int CompareTo(const UInt16 other) const;
bool Equals(const Object* obj) const;
bool Equals(const UInt16 other) const;
int GetHashCode() const;
int GetType() const;
const char* ToString() const;
static const char* ToString(const ushort value);
static bool TryParse(const String& str, out ushort& result);
bool operator==(const UInt16& right) const;
bool operator!=(const UInt16& right) const;
};
}
#endif //_SYSTEM_UINT16_