X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/2c356967e9652ae92e46a9b5f96ac15a92db7691..081a5fa6db149252a499575da751c45f340312bd:/PreferencesController.h diff --git a/PreferencesController.h b/PreferencesController.h index f4f2af4..761a518 100755 --- a/PreferencesController.h +++ b/PreferencesController.h @@ -14,7 +14,7 @@ #import -@class MainController, KeyCombo; +@class MainController, ITKeyCombo; @interface PreferencesController : NSObject { @@ -24,6 +24,7 @@ IBOutlet NSTextField *keyComboField; IBOutlet NSPanel *keyComboPanel; IBOutlet NSButton *launchAtLoginCheckbox; + IBOutlet NSButton *launchPlayerAtLaunchCheckbox; IBOutlet NSTableView *menuTableView; IBOutlet NSButton *nameCheckbox; IBOutlet NSButton *nextTrackButton; @@ -35,8 +36,10 @@ 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 NSWindow *window; @@ -46,21 +49,10 @@ NSMutableArray *availableItems; NSMutableArray *myItems; NSArray *submenuItems; - - KeyCombo *combo; - KeyCombo *playPauseCombo; - KeyCombo *nextTrackCombo; - KeyCombo *prevTrackCombo; - KeyCombo *trackInfoCombo; - KeyCombo *upcomingSongsCombo; - KeyCombo *volumeIncrementCombo; - KeyCombo *volumeDecrementCombo; - KeyCombo *ratingIncrementCombo; - KeyCombo *ratingDecrementCombo; - KeyCombo *toggleLoopCombo; - KeyCombo *toggleShuffleCombo; - NSString *setHotKey; + ITKeyCombo *combo; + NSString *currentHotKey; + NSMutableDictionary *hotKeysDictionary; } + (PreferencesController *)sharedPrefs; @@ -80,6 +72,6 @@ - (IBAction)clearHotKey:(id)sender; - (IBAction)okHotKey:(id)sender; -- (void)setHotKey:(NSString *)key; -- (void)setKeyCombo:(KeyCombo *)newCombo; +- (void)setCurrentHotKey:(NSString *)key; +- (void)setKeyCombo:(ITKeyCombo *)newCombo; @end