This is Preferences.h in view mode; [Download] [Up]
//************************************************************************ // // Preferences.h. // // Controls preferences panel. // // by Felipe A. Rodriguez // // This code is supplied "as is" the author makes no warranty as to its // suitability for any purpose. This code is free and may be distributed // in accordance with the terms of the: // // GNU GENERAL PUBLIC LICENSE // Version 2, June 1991 // copyright (C) 1989, 1991 Free Software Foundation, Inc. // 675 Mass Ave, Cambridge, MA 02139, USA // //************************************************************************ #import <appkit/appkit.h> #import "GKdefs.h" #import "Coordinator.h" // preferences controls char *cList[] = { "comLine", "BaudStr", "LinkUp", "dialPrefix", DIALINIT, NULL}; char *sList[] = { USEFIFO, "autoLaunch", "autoHide", "DispPPP", "DoD", "sound", AITIMER, NULL}; // redial char *rsList[] = { "autoRedial", "PersistCon", "FailRedial", "LCPterminate", REDBOFF, NULL}; char *rfList[] = { "reDial", "Persist", "Fail", "LCPterm", NULL}; // ppp editor lists char *exlist[] = { "/options", "/ip-down", "/ip-up", "/resolv.conf", "/syslog.conf","/messages", "/rc.local", NULL}; char *flist[] = { "options", "ip-down","ip-up", "resolv", "syslog", "messages", "rc", NULL}; @interface Preferences:Object { id swMatrix; // pref check box matrix of switches id redialSwMatrix; // redial check box matrix of switches id redialForm; // redial trigger str's form id pppForm; // preferences form showing loc's of ppp files id defaultsForm; // preferences form showing control string defaults id form; id timeoutField; // textfield showing timeout setting id timeoutCircSlider; // circular slider showing timeout setting id timeoutThreshField; // textfield showing timeout setting id timeoutThreshCircSlider; // circular slider showing timeout setting id preTimeoutSw; id swapView; // the swapview in the nib id radioButtons; // preferences radio buttons char Path[MAXPATHLEN + 1]; // generic buffer to hold paths id pHLBrowser; // preferences nxbrowser id mat; id hlPathTextField; } - awakeFromNib; - switch:sender; - redialSwitch:sender; - redialForm:sender; - pppFileEdit:sender; - pppExampleEdit:sender; - setPPPForm:sender; - pppFilesPathChanged:sender; - defaultsForm:sender; - show_pppEditor:sender; - (char *)pathOf:(int)i; - timeout:sender; - timeoutThreshold:sender; - setPreTimeout:sender; - setHotListPath:sender; - selectHotListPath:sender; - resetPHLBrowser; - makeFile; - makeFIFO; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.