This is DocumentIcon.h in view mode; [Download] [Up]

/* DocumentIcon.h:
 * You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
 * fitness for any particular use.

#import <appkit/appkit.h>

@interface DocumentIcon: Control {
    id		image;
    id		target;
    SEL		action;
    char	*filename;

- initFrame:(const NXRect *)frameRect;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- free;

- (const char *) stringValue;
- setStringValue: (const char *) aString;


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.