This is GamePref.m in view mode; [Download] [Up]
/* indent:4 tabsize:8 font:fixed-width */ #import "GamePref.h" @implementation GamePref /*--------------------------------------------------------------------------- | | - setGameName:(NSString *)name | |---------------------------------------------------------------------------- | | Set the name used to register preferences. | \---------------------------------------------------------------------------*/ - (void) setGameName:(NSString*)name { [gameName autorelease]; gameName = [[NSString alloc] initWithFormat:@"Solitaire%@", name]; [self registerPrefs]; } /*--------------------------------------------------------------------------- | | - registerPrefs | |---------------------------------------------------------------------------- | | Register the preferences for this game. Override this if the game | has preferences to register. | \---------------------------------------------------------------------------*/ - (void) registerPrefs { } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.