X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/e980fa37a154b26625b8e9472bfd5404bde0aa85..a822d608c6739b4c2cd2c39187a78ca461d4d6d4:/OldMainController.h diff --git a/OldMainController.h b/OldMainController.h index 252ae3a..449eb4d 100755 --- a/OldMainController.h +++ b/OldMainController.h @@ -19,13 +19,11 @@ #import #import -//@class MenuTunesView; @class PreferencesController, StatusWindow; @interface MainController : NSObject { ITStatusItem *statusItem; - NSMenu *menu; ITMTRemote *currentRemote; NSMutableArray *remoteArray; @@ -37,44 +35,21 @@ BOOL isPlayingRadio; ITMTRemotePlayerRunningState isAppRunning; - BOOL didHaveAlbumName; - BOOL didHaveArtistName; //Helper variable for creating the menu - - //For upcoming songs - NSMenuItem *upcomingSongsItem; - NSMenu *upcomingSongsMenu; - - //For playlist selection - NSMenuItem *playlistItem; - NSMenu *playlistMenu; - - //For EQ sets - 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)remotePlayerLaunched:(NSNotification *)note; -- (void)remotePlayerTerminated:(NSNotification *)note; - -- (void)registerDefaultsIfNeeded; -- (void)rebuildMenu; +- (void)applicationLaunched:(NSNotification *)note; +- (void)applicationTerminated:(NSNotification *)note; -- (void)runTimerInNewThread; +- (void)registerDefaults; -- (void)setSongRating:(id)sender; +- (void)startTimerInNewThread; - (void)clearHotKeys; - (void)closePreferences; -- (void)showPlayer; +- (void)showPlayer:(id)sender; @end