This is NeXTGraphic.m in view mode; [Download] [Up]
/* Generated by Interface Builder, modified by the author */
/* File: NeXTGraphic.m */
#include <stdio.h>
#import "NeXTGraphic.h"
@implementation NeXTGraphic
- readRichText:(NXStream *)aStream forView:aView /* reads the graphic information */
{
char graphicName[64];
int character;
BOOL eof;
char *charPointer;
charPointer= graphicName;
while( (eof= ((character= NXGetc( aStream)) != EOF)) && (character != ' ')) /* graphic name */
{
*charPointer++= (char)character;
}
*charPointer= (char)0;
while( (eof= ((character= NXGetc( aStream)) != EOF)) && (character != 10)) /* no parameters */
;
[super initIconCell:graphicName]; /* init the icon cell */
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.