Fixed some stuff with the equalizer menu. Fix the plugin EQ stuff please! :)
[MenuTunes.git] / MenuTunes.h
index 6402eb1..89223ed 100755 (executable)
@@ -24,6 +24,8 @@
 
 @interface MenuTunes : NSObject
 {
 
 @interface MenuTunes : NSObject
 {
+    IBOutlet NSMenu *ratingMenu;
+    
     ITStatusItem   *statusItem;
     NSMenu         *menu;
     ITMTRemote     *currentRemote;
     ITStatusItem   *statusItem;
     NSMenu         *menu;
     ITMTRemote     *currentRemote;
@@ -36,7 +38,7 @@
     int      lastPlaylistIndex;
     BOOL     isPlayingRadio;
     
     int      lastPlaylistIndex;
     BOOL     isPlayingRadio;
     
-    BOOL isAppRunning;
+    ITMTRemotePlayerRunningStatus isAppRunning;
     BOOL didHaveAlbumName;
     BOOL didHaveArtistName; //Helper variable for creating the menu
     
     BOOL didHaveAlbumName;
     BOOL didHaveArtistName; //Helper variable for creating the menu
     
     NSMenuItem *eqItem;
     NSMenu     *eqMenu;
     
     NSMenuItem *eqItem;
     NSMenu     *eqMenu;
     
+    NSMenuItem *songRatingMenuItem; //Song Rating submenu item
     NSMenuItem *playPauseMenuItem; //Toggle between 'Play' and 'Pause'
     
     PreferencesController *prefsController;
     StatusWindow *statusWindow; //Shows track info and upcoming songs.
 }
 
     NSMenuItem *playPauseMenuItem; //Toggle between 'Play' and 'Pause'
     
     PreferencesController *prefsController;
     StatusWindow *statusWindow; //Shows track info and upcoming songs.
 }
 
-- (void)iTunesLaunched:(NSNotification *)note;
-- (void)iTunesTerminated:(NSNotification *)note;
+- (void)remotePlayerLaunched:(NSNotification *)note;
+- (void)remotePlayerTerminated:(NSNotification *)note;
 
 - (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
 
 - (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
+
+- (void)runTimerInNewThread;
+
+- (IBAction)setSongRating:(id)sender;
+
 - (void)clearHotKeys;
 - (void)closePreferences;
 
 - (void)clearHotKeys;
 - (void)closePreferences;