This is PrefsController.h in view mode; [Download] [Up]
#import <appkit/appkit.h> @interface PrefsController:Object { id prefsPanel; id list_SCSI; id mainPanel_ID; id cdInfo_ID; char globRawDeviceName[32]; int globRawDevicePrefTag; int globLeftVolume, globRightVolume; BOOL globSeparateVolumes, globConsoleDebugMsgs; NXSize mainScreenSize; char controlFrameName[32]; /* name will include screen size */ char tempStr[NX_MAXFRAMESTRINGLENGTH]; /* about 300 characters */ int tempInt; } /* show the global preferences panel */ - showPrefsPanel:sender; /* setting and getting values */ - setRawDevicePrefTag:(int)prefTag andSave:(BOOL)dwriteIt; - (int) rawDevicePrefTag; - (char *) rawDeviceName; - setSeparateVolumes:(BOOL)onOffSetting andSave:(BOOL)dwriteIt; - (BOOL) separateVolumes; - setConsoleDebugMsgs:(BOOL)onOffSetting andSave:(BOOL)dwriteIt; - (BOOL) consoleDebugMsgs; - saveControlFrame:(BOOL)wantSave; - saveVolumes:(BOOL)wantSave; - getVolumes:(int *)leftVolPtr :(int *)rightVolPtr; /* this has to be the last method defined, because it references many internal (private) methods. Note that it's assumed that "cdInfo" will respond to getVolumes:: */ - initGlobalPreferences:cdInfo mainPanel:ctrlPanel; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.