Made MenuController communicate with MainController
[MenuTunes.git] / PreferencesController.h
index 35252ae..7be6a5e 100755 (executable)
@@ -37,6 +37,7 @@
     IBOutlet NSButton *trackInfoButton;
     IBOutlet NSButton *trackTimeCheckbox;
     IBOutlet NSButton *upcomingSongsButton;
+    IBOutlet NSButton *visualizerButton;
     IBOutlet NSButton *volumeDecrementButton;
     IBOutlet NSButton *volumeIncrementButton;
     IBOutlet NSWindow *window;
     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;
+    KeyCombo *combo;
+    NSString *currentHotKey;
+    NSMutableDictionary *hotKeysDictionary;
 }
 
 + (PreferencesController *)sharedPrefs;
 - (void)setController:(id)object;
 
 - (IBAction)showPrefsWindow:(id)sender;
+
+- (IBAction)changeGeneralSetting:(id)sender;
+- (IBAction)changeStatusWindowSetting:(id)sender;
+- (IBAction)changeHotKey:(id)sender;
+
 - (void)registerDefaults;
 
 - (IBAction)cancelHotKey:(id)sender;
 - (IBAction)clearHotKey:(id)sender;
 - (IBAction)okHotKey:(id)sender;
-- (IBAction)setNewHotKey:(id)sender;
 
-- (void)setHotKey:(NSString *)key;
+- (void)setCurrentHotKey:(NSString *)key;
 - (void)setKeyCombo:(KeyCombo *)newCombo;
 @end