X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/bd8db34c9da35615e89f17fdef6b40ce1be30799..166324bee63502af1f85f9eb1126fbb5db19e0c0:/OldMainController.h diff --git a/OldMainController.h b/OldMainController.h index 449eb4d..44664ac 100755 --- a/OldMainController.h +++ b/OldMainController.h @@ -19,11 +19,13 @@ #import #import +//@class MenuTunesView; @class PreferencesController, StatusWindow; @interface MainController : NSObject { ITStatusItem *statusItem; + NSMenu *menu; ITMTRemote *currentRemote; NSMutableArray *remoteArray; @@ -35,6 +37,26 @@ 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. @@ -44,12 +66,9 @@ - (void)applicationTerminated:(NSNotification *)note; - (void)registerDefaults; - -- (void)startTimerInNewThread; +- (void)rebuildMenu; - (void)clearHotKeys; - (void)closePreferences; -- (void)showPlayer:(id)sender; - @end