-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPreferencesController.h
executable file
·106 lines (93 loc) · 3.51 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*
* MenuTunes
* PreferencesController.h
*
* Preferences window controller.
*
* Copyright (c) 2002 iThink Software
*
*/
#import <Cocoa/Cocoa.h>
@class CustomMenuTableView, MainController, ITKeyCombo;
@interface PreferencesController : NSObject
{
IBOutlet NSButton *albumArtworkCheckbox;
IBOutlet NSButton *albumCheckbox;
IBOutlet NSTableView *allTableView;
IBOutlet NSPopUpButton *appearanceEffectPopup;
IBOutlet NSSlider *appearanceSpeedSlider;
IBOutlet NSButton *artistCheckbox;
IBOutlet NSButton *audioscrobblerEnabledCheckbox;
IBOutlet NSTextField *audioscrobblerPasswordTextField;
IBOutlet NSTextField *audioscrobblerStatusTextField;
IBOutlet NSButton *audioscrobblerUseCacheCheckbox;
IBOutlet NSTextField *audioscrobblerUserTextField;
IBOutlet NSPopUpButton *backgroundStylePopup;
IBOutlet NSColorWell *backgroundColorWell;
IBOutlet NSPopUpButton *backgroundColorPopup;
IBOutlet NSTextField *clientPasswordTextField;
IBOutlet NSButton *composerCheckbox;
IBOutlet NSTextField *hostTextField;
IBOutlet NSTableView *hotKeysTableView;
IBOutlet NSButton *launchAtLoginCheckbox;
IBOutlet NSButton *launchPlayerAtLaunchCheckbox;
IBOutlet NSTextField *locationTextField;
IBOutlet NSView *manualView;
IBOutlet CustomMenuTableView *menuTableView;
IBOutlet NSButton *nameCheckbox;
IBOutlet NSTextField *nameTextField;
IBOutlet NSPanel *passwordPanel;
IBOutlet NSTextField *passwordPanelMessage;
IBOutlet NSButton *passwordPanelOKButton;
IBOutlet NSTextField *passwordPanelTextField;
IBOutlet NSTextField *passwordPanelTitle;
IBOutlet NSTextField *passwordTextField;
IBOutlet NSButton *playCountCheckbox;
IBOutlet NSMatrix *positionMatrix;
IBOutlet NSButton *ratingCheckbox;
IBOutlet NSButton *runScriptsCheckbox;
IBOutlet NSPopUpButton *screenPopup;
IBOutlet NSTextField *selectedPlayerTextField;
IBOutlet NSBox *selectPlayerBox;
IBOutlet NSPanel *selectPlayerSheet;
IBOutlet NSButton *selectSharedPlayerButton;
IBOutlet NSButton *shareMenuTunesCheckbox;
IBOutlet NSButton *sharingPanelOKButton;
IBOutlet NSTableView *sharingTableView;
IBOutlet NSButton *showOnChangeCheckbox;
IBOutlet NSButton *showScriptsButton;
IBOutlet NSTextField *songsInAdvance;
IBOutlet NSButton *trackNumberCheckbox;
IBOutlet NSButton *trackTimeCheckbox;
IBOutlet NSButton *useSharedMenuTunesCheckbox;
IBOutlet NSSlider *vanishDelaySlider;
IBOutlet NSPopUpButton *vanishEffectPopup;
IBOutlet NSSlider *vanishSpeedSlider;
IBOutlet NSWindow *window;
IBOutlet NSPopUpButton *windowSizingPopup;
IBOutlet NSView *zeroConfView;
MainController *controller;
NSUserDefaults *df;
NSMutableArray *availableItems;
NSMutableArray *myItems;
NSArray *submenuItems;
NSArray *effectClasses;
NSArray *hotKeysArray, *hotKeyNamesArray;
NSMutableDictionary *hotKeysDictionary;
}
+ (PreferencesController *)sharedPrefs;
+ (NSString *)getKeychainItemPasswordForUser:(NSString *)user;
- (id)controller;
- (void)setController:(id)object;
- (BOOL)showPasswordPanel;
- (BOOL)showInvalidPasswordPanel;
- (IBAction)changeGeneralSetting:(id)sender;
- (IBAction)changeSharingSetting:(id)sender;
- (IBAction)changeStatusWindowSetting:(id)sender;
- (void)resetRemotePlayerTextFields;
- (IBAction)clearHotKey:(id)sender;
- (IBAction)editHotKey:(id)sender;
- (IBAction)showPrefsWindow:(id)sender;
- (void)registerDefaults;
- (void)deletePressedInTableView:(NSTableView *)tableView;
@end