X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/88a188f0aa37a7a6402d3d71031244e88104f7a0..d9b4ed4ebff2f9d3636afba8c0a2e75fb4342c23:/MenuTunes.h diff --git a/MenuTunes.h b/MenuTunes.h index 6402eb1..e45925a 100755 --- a/MenuTunes.h +++ b/MenuTunes.h @@ -36,7 +36,7 @@ int lastPlaylistIndex; BOOL isPlayingRadio; - BOOL isAppRunning; + ITMTRemotePlayerRunningState isAppRunning; BOOL didHaveAlbumName; BOOL didHaveArtistName; //Helper variable for creating the menu @@ -52,18 +52,29 @@ NSMenuItem *eqItem; NSMenu *eqMenu; + //For song ratings + NSMenuItem *songRatingMenuItem; + NSMenu *ratingMenu; + 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; + +- (void)setSongRating:(id)sender; + - (void)clearHotKeys; - (void)closePreferences; +- (void)showPlayer; + @end