#ifndef YSOBJECT_H #define YSOBJECT_H #import "YSZone.h" typedef unsigned int YSUInteger; @protocol YSObject -(Class) class; -(Class) superclass; //-(BOOL) isEqual: (id)anObject; //-(BOOL) isKindOfClass: (Class)aClass; //-(BOOL) isMemberOfClass: (Class)aClass; //-(BOOL) isProxy; //-(YSUInteger) hash; -(id) self; //-(id) performSelector: (SEL)aSelector; //-(id) performSelector: (SEL)aSelector // withObject: (id)anObject; //-(id) performSelector: (SEL)aSelector // withObject: (id)object1 // withObject: (id)object2; //-(BOOL) respondsToSelector: (SEL)aSelector; //-(BOOL) conformsToProtocol: (Protocol *)aProtocol; //-(id) retain; //-(oneway void) release; //-(id) autorelease; //-(YSUInteger) retainCount; //-(YSString *) description; -(YSZone *)zone; @end @interface YSObject { } -(Class) class; -(Class) superclass; -(id) self; //-(YSString *) description; +(id) copyWithZone: (YSZone *) zone; -(YSZone *) zone; +(YSZone *) zone; @end #endif