Adding methods for Equalizer enabled nonsense to the iTunes remote,
[MenuTunes.git] / MenuTunes.h
index 6402eb1..89223ed 100755 (executable)
@@ -24,6 +24,8 @@
 
 @interface MenuTunes : NSObject
 {
+    IBOutlet NSMenu *ratingMenu;
+    
     ITStatusItem   *statusItem;
     NSMenu         *menu;
     ITMTRemote     *currentRemote;
@@ -36,7 +38,7 @@
     int      lastPlaylistIndex;
     BOOL     isPlayingRadio;
     
-    BOOL isAppRunning;
+    ITMTRemotePlayerRunningStatus isAppRunning;
     BOOL didHaveAlbumName;
     BOOL didHaveArtistName; //Helper variable for creating the menu
     
     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.
 }
 
-- (void)iTunesLaunched:(NSNotification *)note;
-- (void)iTunesTerminated:(NSNotification *)note;
+- (void)remotePlayerLaunched:(NSNotification *)note;
+- (void)remotePlayerTerminated:(NSNotification *)note;
 
 - (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
+
+- (void)runTimerInNewThread;
+
+- (IBAction)setSongRating:(id)sender;
+
 - (void)clearHotKeys;
 - (void)closePreferences;