X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/0b83e13fdd374e0ac55397663cedb94bf8df197f..refs/heads/master:/PreferencesController.h diff --git a/PreferencesController.h b/PreferencesController.h index 9e71df2..ba6f876 100755 --- a/PreferencesController.h +++ b/PreferencesController.h @@ -1,13 +1,10 @@ /* * MenuTunes - * PreferencesController - * Preferences window controller + * PreferencesController.h * - * Original Author : Kent Sutherland - * Responsibility : Kent Sutherland + * Preferences window controller. * - * Copyright (c) 2002 iThink Software. - * All Rights Reserved + * Copyright (c) 2002 iThink Software * */ @@ -18,14 +15,22 @@ @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; @@ -41,7 +46,11 @@ 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; @@ -50,15 +59,16 @@ IBOutlet NSButton *sharingPanelOKButton; IBOutlet NSTableView *sharingTableView; IBOutlet NSButton *showOnChangeCheckbox; + IBOutlet NSButton *showScriptsButton; IBOutlet NSTextField *songsInAdvance; IBOutlet NSButton *trackNumberCheckbox; IBOutlet NSButton *trackTimeCheckbox; - IBOutlet NSButton *usePasswordCheckbox; IBOutlet NSButton *useSharedMenuTunesCheckbox; IBOutlet NSSlider *vanishDelaySlider; IBOutlet NSPopUpButton *vanishEffectPopup; IBOutlet NSSlider *vanishSpeedSlider; IBOutlet NSWindow *window; + IBOutlet NSPopUpButton *windowSizingPopup; IBOutlet NSView *zeroConfView; MainController *controller; @@ -66,12 +76,14 @@ 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; @@ -87,7 +99,6 @@ - (IBAction)clearHotKey:(id)sender; - (IBAction)editHotKey:(id)sender; - (IBAction)showPrefsWindow:(id)sender; -- (IBAction)showTestWindow:(id)sender; - (void)registerDefaults; - (void)deletePressedInTableView:(NSTableView *)tableView;