X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/35486a7ded93b3e89a6b03ec1dbe801f3dfe0edc..74d6135e4db4cf9a70994d5bc2062be30311d0f3:/MenuTunes.h diff --git a/MenuTunes.h b/MenuTunes.h index 466c4e4..92aade2 100755 --- a/MenuTunes.h +++ b/MenuTunes.h @@ -24,30 +24,33 @@ @interface MenuTunes : NSObject { - ITStatusItem *statusItem; - NSMenu *menu; - ITMTRemote *currentRemote; + ITStatusItem *statusItem; + NSMenu *menu; + ITMTRemote *currentRemote; NSMutableArray *remoteArray; //Used in updating the menu automatically NSTimer *refreshTimer; - int trackInfoIndex, lastSongIndex, lastPlaylistIndex; - BOOL isPlayingRadio; + int trackInfoIndex; + int lastSongIndex; + int lastPlaylistIndex; + BOOL isPlayingRadio; BOOL isAppRunning; - BOOL didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu + BOOL didHaveAlbumName; + BOOL didHaveArtistName; //Helper variable for creating the menu //For upcoming songs NSMenuItem *upcomingSongsItem; - NSMenu *upcomingSongsMenu; + NSMenu *upcomingSongsMenu; //For playlist selection NSMenuItem *playlistItem; - NSMenu *playlistMenu; + NSMenu *playlistMenu; //For EQ sets NSMenuItem *eqItem; - NSMenu *eqMenu; + NSMenu *eqMenu; NSMenuItem *playPauseMenuItem; //Toggle between 'Play' and 'Pause' @@ -55,8 +58,8 @@ 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;