This is DefaultController.h in view mode; [Download] [Up]
// Tue Oct 8 09:08:44 MET 1996
// Built using the very educative ListInspector of Ralph Zazula (zazula@running-start.com) as
// template
typedef enum
{ DCT_string,
DCT_int,
DCT_float,
DCT_double,
DCT_bool,
DCT_tag, // usful for matrices
DCT_color,
DCT_rtf // unimplemented
} DefaultControllerType_t;
#import <appkit/appkit.h>
@interface DefaultController:Object
{ Storage *names,*types;
List *gadgets;
}
- init;
- registerName:(const char*) aName andType:(DefaultControllerType_t) aType for:theGadget;
- getName: (const char**) aName andType:(DefaultControllerType_t*) aType for:theGadget;
// List interface¼
-(List*) gadgets;
-(unsigned)indexOf:anObject;
- removeObjectAt:(unsigned)index;
- objectAt:(unsigned)index;
- addObjectIfAbsent:anObject;
- uiDataChanged:sender;
- windowWillClose:sender;
- appWillTerminate:sender;
@endThese are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.