ftp.nice.ch/pub/next/games/network/Splat.1.0.s.tar.gz#/Splat-1.0/EKDefaultsManager.h

This is EKDefaultsManager.h in view mode; [Download] [Up]

/*
 * EKDefaultsManager
 * description: a generic object for reading/writing/accessing defaults/prefs
 * history:
 *	5/19/93 [Erik Kay] - created
 *	5/23/93 [Erik Kay] - writing the defaults out
 */

#import <appkit/appkit.h>

@interface EKDefaultsManager:Object
{
    id prefsPanel;
    NXStringTable *defaultsTable;
}

// managing the prefs panel
- showPreferencesPanel:sender;
- loadPreferencesPanel;

// setting the defaults
- addDefault:(const char *)key;
- setDefault:(const char *)key value:(const char *)val;

// reading writing out the whole thing
- loadDefaults;
- writeDefaults;

// get the value for a default key
- (const char *)getDefault:(const char *)key;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.