X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/88a188f0aa37a7a6402d3d71031244e88104f7a0..0a1be7120daf3895af462672f59a2889a6c9c581:/MenuTunes.h diff --git a/MenuTunes.h b/MenuTunes.h index 6402eb1..89223ed 100755 --- a/MenuTunes.h +++ b/MenuTunes.h @@ -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 @@ -52,17 +54,23 @@ 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;