This repository was archived by the owner on Feb 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPreferencesController.h
More file actions
56 lines (45 loc) · 1.56 KB
/
Copy pathPreferencesController.h
File metadata and controls
56 lines (45 loc) · 1.56 KB
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
/* PreferencesController */
#import <Cocoa/Cocoa.h>
@interface PreferencesController : NSWindowController
{
#pragma mark Individual Pane Views
IBOutlet NSView *welcomeView;
IBOutlet NSView *generalPrefsView;
IBOutlet NSView *lastfmPrefsView;
IBOutlet NSView *exclusionsView;
IBOutlet NSView *historyView;
#pragma mark Toolbar
NSMutableDictionary *toolbarItems;
IBOutlet NSToolbar *prefToolbar;
IBOutlet NSToolbarItem *generalPrefsToolbarItem;
IBOutlet NSToolbarItem *lastFmToolbarItem;
#pragma mark General Prefs
IBOutlet NSButton *startAtLogin;
#pragma mark Last.fm Login
IBOutlet NSBox *currentLoginContainer;
IBOutlet NSTextField *currentLogin;
IBOutlet NSProgressIndicator *authSpinner;
#pragma mark History
IBOutlet NSArrayController *historyController;
IBOutlet NSTableView *historyTable;
IBOutlet NSTableColumn *historyIconTableColumn;
}
#pragma mark WindowController Methods
- (NSString *)windowNibName;
- (IBAction)showWindow:(id)sender;
#pragma mark Changing Views
-(IBAction)changeView:(NSToolbarItem *)sender;
-(void)setPreferencesView:(NSView *)inputView;
#pragma mark Pane:General - Actions
-(IBAction)setLoginStart:(id)sender;
-(IBAction)startChooseXML:(id)sender;
-(IBAction)updateAutoDecision:(id)sender;
#pragma mark Pane:LastFmLogin - Actions
-(IBAction)openLastFmWebsite:(id)sender;
-(IBAction)openAuthWebsite:(id)sender;
-(void)loginProcessing;
-(void)loginComplete;
-(void)startAuthSpinner;
#pragma mark Pane:History - Actions
-(void)addHistoryWithSuccess:(BOOL)wasSuccess andDate:(NSDate *)aDate andDescription:(NSString *)aDescription;
@end