X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/e350c02cdc2d016846056966c9595969aebcf559..a1367a46347952261b0e04a09dc061695a6511d0:/PreferencesController.h diff --git a/PreferencesController.h b/PreferencesController.h index 1f0094d..97c5b92 100755 --- a/PreferencesController.h +++ b/PreferencesController.h @@ -14,45 +14,58 @@ #import -@class MainController, ITKeyCombo; +@class CustomMenuTableView, MainController, ITKeyCombo; @interface PreferencesController : NSObject { IBOutlet NSButton *albumCheckbox; IBOutlet NSTableView *allTableView; + IBOutlet NSPopUpButton *appearanceEffectPopup; + IBOutlet NSSlider *appearanceSpeedSlider; IBOutlet NSButton *artistCheckbox; - IBOutlet NSTextField *keyComboField; - IBOutlet NSPanel *keyComboPanel; + IBOutlet NSTextField *clientPasswordTextField; + IBOutlet NSTextField *hostTextField; + IBOutlet NSTableView *hotKeysTableView; IBOutlet NSButton *launchAtLoginCheckbox; IBOutlet NSButton *launchPlayerAtLaunchCheckbox; - IBOutlet NSTableView *menuTableView; + IBOutlet NSTextField *locationTextField; + IBOutlet NSView *manualView; + IBOutlet CustomMenuTableView *menuTableView; IBOutlet NSButton *nameCheckbox; - IBOutlet NSButton *nextTrackButton; - IBOutlet NSButton *playPauseButton; - IBOutlet NSButton *previousTrackButton; + IBOutlet NSTextField *nameTextField; + IBOutlet NSPanel *passwordPanel; + IBOutlet NSTextField *passwordPanelMessage; + IBOutlet NSButton *passwordPanelOKButton; + IBOutlet NSTextField *passwordPanelTextField; + IBOutlet NSTextField *passwordPanelTitle; + IBOutlet NSTextField *passwordTextField; IBOutlet NSButton *ratingCheckbox; - IBOutlet NSButton *ratingDecrementButton; - IBOutlet NSButton *ratingIncrementButton; + 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 NSTextField *songsInAdvance; - IBOutlet NSButton *toggleLoopButton; - IBOutlet NSButton *toggleShuffleButton; - IBOutlet NSButton *trackInfoButton; IBOutlet NSButton *trackNumberCheckbox; IBOutlet NSButton *trackTimeCheckbox; - IBOutlet NSButton *upcomingSongsButton; - IBOutlet NSButton *showPlayerButton; - IBOutlet NSButton *volumeDecrementButton; - IBOutlet NSButton *volumeIncrementButton; + IBOutlet NSButton *usePasswordCheckbox; + IBOutlet NSButton *useSharedMenuTunesCheckbox; + IBOutlet NSSlider *vanishDelaySlider; + IBOutlet NSPopUpButton *vanishEffectPopup; + IBOutlet NSSlider *vanishSpeedSlider; IBOutlet NSWindow *window; - + IBOutlet NSView *zeroConfView; + MainController *controller; NSUserDefaults *df; NSMutableArray *availableItems; NSMutableArray *myItems; NSArray *submenuItems; - ITKeyCombo *combo; - NSString *currentHotKey; + NSArray *hotKeysArray, *hotKeyNamesArray; NSMutableDictionary *hotKeysDictionary; } @@ -61,18 +74,19 @@ - (id)controller; - (void)setController:(id)object; -- (IBAction)showPrefsWindow:(id)sender; +- (BOOL)showPasswordPanel; +- (BOOL)showInvalidPasswordPanel; - (IBAction)changeGeneralSetting:(id)sender; +- (IBAction)changeSharingSetting:(id)sender; - (IBAction)changeStatusWindowSetting:(id)sender; -- (IBAction)changeHotKey:(id)sender; - -- (void)registerDefaults; +- (void)resetRemotePlayerTextFields; -- (IBAction)cancelHotKey:(id)sender; - (IBAction)clearHotKey:(id)sender; -- (IBAction)okHotKey:(id)sender; +- (IBAction)editHotKey:(id)sender; +- (IBAction)showPrefsWindow:(id)sender; + +- (void)registerDefaults; +- (void)deletePressedInTableView:(NSTableView *)tableView; -- (void)setCurrentHotKey:(NSString *)key; -- (void)setKeyCombo:(ITKeyCombo *)newCombo; @end