@interface MenuTunes : NSObject
{
+ IBOutlet NSMenu *ratingMenu;
+
ITStatusItem *statusItem;
NSMenu *menu;
ITMTRemote *currentRemote;
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;