1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00

33 lines
660 B
C
Raw Normal View History

#ifndef _SYSTEM_BOOLEAN_
#define _SYSTEM_BOOLEAN_
#include "Interfaces.h"
namespace System
{
struct Boolean : public IComparable<Boolean>, public IEquatable<Boolean>, virtual Object
{
private:
bool value;
public:
Boolean(const bool &obj); // Copy constructor
static const char* True;
static const char* False;
int CompareTo(Boolean other);
bool Equals(Boolean other);
bool Parse(char* str);
char* ToString();
static char* ToString(bool value);
bool operator!=(bool right);
bool operator!=(Boolean right);
bool operator==(bool right);
bool operator==(Boolean right);
};
}
#endif //_BOOLEAN_