-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathPreferencesController.h
executable file
·63 lines (50 loc) · 1.95 KB
/
PreferencesController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//
// PreferencesController.h
// PermanentEraser
//
// Created by Administrator on 6/16/10.
// Copyright 2010 Edenwaith. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PEController.h"
#import "NSFileManager+Utils.h"
@interface PreferencesController : NSWindowController
{
IBOutlet NSView *generalPreferenceView;
IBOutlet NSView *updatePreferenceView;
IBOutlet NSView *pluginsPreferenceView;
IBOutlet NSView *activeContentView;
id toolbar;
IBOutlet NSPopUpButton *fileErasingButton;
IBOutlet NSPopUpButton *opticalDiscErasingButton;
IBOutlet NSTextField *fileErasingLabel;
IBOutlet NSTextField *discErasingLabel;
IBOutlet NSButton *warnBeforeErasingButton;
IBOutlet NSButton *playSoundsButton;
IBOutlet NSButton *checkNowButton;
IBOutlet NSTextField *lastCheckedLabel; // Label which says: "Last checked:"
IBOutlet NSTextField *lastCheckedTextField;
IBOutlet NSButton *pluginInstalledButton;
IBOutlet NSTextField *pluginMsgField;
NSString *pluginPath;
}
+ (PreferencesController *) sharedWindowController;
//+ (PreferencesController *) sharedWindowControllerWithDelegate: (id) delegate;
+ (NSString *) nibName;
- (void) prefWindowClosed: (NSNotification *) aNotification;
- (void) loadSettings;
- (void)togglePreferenceView:(NSString *)identifier;
- (void)toggleActivePreferenceView:(id)sender;
- (void)setActiveView:(NSView *)view animate:(BOOL)flag;
- (IBAction) fileErasingLevelSelected: (id) sender;
- (IBAction) opticalDiscErasingLevelSelected: (id) sender;
- (IBAction) warnBeforeErasingSelected: (id) sender;
- (IBAction) playSoundsSelected: (id) sender;
- (IBAction) checkForNewVersion: (id) sender;
- (BOOL) isLatestVersion: (NSString *)latestVersion newerThanCurrentVersion: (NSString *)currentVersion;
- (NSString *) formatLocalizedDate: (NSDate *) theDate;
- (IBAction) installPluginSelected: (id) sender;
- (void) removeOldPlugin;
- (NSString *) displayLocalizedPath: (NSString *) path;
- (IBAction) openHelpPage: (id) sender;
@end