This is InfoController.h in view mode; [Download] [Up]
#import <appkit/appkit.h> #define unRegSerial "NREG" @interface InfoController:Object { id niftyView; id strings; // localized strings id infoPanel; id registerPanel; id orderFormPanel; id regText; id costText; id regNumText; id versionText; id versionDateText; char *keyFileName; char *key, *serialNum; } - init; // make a new instance. - appDidInit:sender; // forwarded by GameBrain - niftyView; - readKey; - writeKey; - (BOOL)keyOK; - infoPanel; // return the infoPanel, or load it. - registerPanel; // return the registerPanel, or load it. - orderFormPanel; // return the orderFormPanel, or load it. - (const char *)versionString; // return current version - info:sender; // make the info panel be up there. - readme:sender; // make the readme panel be up there. - registration:sender; // make the register panel be up there. - orderForm:sender; // make the order form panel be up there. - (BOOL)notRegistered; // tell if we're registered or not. - registerGame:sender; // accept registration...or not... - cancelRegistration:sender; // cancel registration modal loop... - suggestion:sender; // This is pretty much lifted from Opener. - costCalc:sender; // Calculate the cost of the licenses. - printOrderForm:sender; // Do -costCalc and then print orderForm. - license:sender; // bring up license in help panel. @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.