This is InfoController.h in view mode; [Download] [Up]
#import <objc/Object.h> #define unRegSerial "NREG" #define versionString "0.1a" @interface InfoController:Object { id infoPanel; id helpPanel; id licensePanel; id READMEPanel; id registerPanel; id orderFormPanel; id regText; id costText; id colLicNum; id pillLicNum; id regNumText; char *keyFileName; char *key, *serialNum; } - init; // make a new instance. - readKey; - writeKey; - (BOOL)keyOK; - infoPanel; // return the infoPanel, or load it. - helpPanel; // return the helpPanel, or load it. - licensePanel; // return the licensePanel, or load it. - readmePanel; // return the readmePanel, or load it. - registerPanel; // return the registerPanel, or load it. - orderFormPanel; // return the orderFormPanel, or load it. - info:sender; // make the info panel be up there. - help:sender; // make the help panel be up there. - license:sender; // make the license 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. @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.