X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/166324bee63502af1f85f9eb1126fbb5db19e0c0..0a481b1f1afeda7c270362348b129fb6427117f9:/OldMainController.h?ds=inline diff --git a/OldMainController.h b/OldMainController.h index 44664ac..d96bbd1 100755 --- a/OldMainController.h +++ b/OldMainController.h @@ -17,10 +17,8 @@ #import #import #import -#import - -//@class MenuTunesView; -@class PreferencesController, StatusWindow; +#import "PreferencesController.h" +#import "StatusWindow.h" @interface MainController : NSObject { @@ -32,13 +30,13 @@ //Used in updating the menu automatically NSTimer *refreshTimer; int trackInfoIndex; - int lastSongIndex; + int lastPlaylistIndex; + NSString *lastSongIdentifier; + int lastSongRating; BOOL isPlayingRadio; ITMTRemotePlayerRunningState isAppRunning; - BOOL didHaveAlbumName; - BOOL didHaveArtistName; //Helper variable for creating the menu //For upcoming songs NSMenuItem *upcomingSongsItem; @@ -53,21 +51,20 @@ NSMenu *eqMenu; //For song ratings - NSMenuItem *songRatingMenuItem; + NSMenuItem *ratingItem; NSMenu *ratingMenu; - NSMenuItem *playPauseMenuItem; //Toggle between 'Play' and 'Pause' + NSMenuItem *playPauseItem; //Toggle between 'Play' and 'Pause' - PreferencesController *prefsController; StatusWindow *statusWindow; //Shows track info and upcoming songs. } - (void)applicationLaunched:(NSNotification *)note; - (void)applicationTerminated:(NSNotification *)note; -- (void)registerDefaults; - (void)rebuildMenu; +- (ITMTRemote *)currentRemote; - (void)clearHotKeys; - (void)closePreferences;