mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
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
31 lines
1016 B
C++
31 lines
1016 B
C++
/********************************************************
|
|
* Object.h *
|
|
* *
|
|
* XFX Object definition file *
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _SYSTEM_OBJECT_
|
|
#define _SYSTEM_OBJECT_
|
|
|
|
namespace System
|
|
{
|
|
// Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes.
|
|
// This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
|
|
class Object
|
|
{
|
|
public:
|
|
virtual bool Equals(Object const * const obj) const;
|
|
static bool Equals(const Object* objA, const Object* objB);
|
|
virtual int GetHashCode() const;
|
|
virtual int GetType() const =0;
|
|
static bool ReferenceEquals(const Object& objA, const Object& objB);
|
|
virtual const char* ToString() const;
|
|
|
|
virtual ~Object() { }
|
|
};
|
|
|
|
bool is(Object const * const obj1, Object const * const obj2);
|
|
}
|
|
|
|
#endif //_SYSTEM_OBJECT_
|