ResKnife/Cocoa/Classes/PrefsWindowController.h
2002-02-12 04:01:47 +00:00

31 lines
605 B
Objective-C

#import <Cocoa/Cocoa.h>
enum DataProtection
{
preserveBackupsBox = 0,
autosaveBox,
deleteResourceWarningBox
};
enum LaunchAction
{
doNothingBox = 0,
createNewDocumentBox,
displayOpenPanelBox
};
@interface PrefsWindowController : NSWindowController
{
IBOutlet NSTextField *autosaveIntervalField;
IBOutlet NSMatrix *dataProtectionMatrix;
IBOutlet NSMatrix *launchActionMatrix;
}
- (void)updatePrefs:(NSNotification *)notification;
- (IBAction)acceptPrefs:(id)sender;
- (IBAction)cancelPrefs:(id)sender;
- (IBAction)resetToDefault:(id)sender;
+ (id)sharedPrefsWindowController;
@end