X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/4f2a1a6b5d25d7cbae4f356eabe754a4f6e98adb..ea3dc416d45e5e72dc83a757a2031a2a763bbe51:/MenuTunes.h diff --git a/MenuTunes.h b/MenuTunes.h index bdbe402..cde1eff 100755 --- a/MenuTunes.h +++ b/MenuTunes.h @@ -14,24 +14,25 @@ #import #import +#import //@class MenuTunesView; @class PreferencesController, StatusWindowController; @interface MenuTunes : NSObject { - NSStatusItem *statusItem; + ITStatusItem *statusItem; NSMenu *menu; -// MenuTunesView *view; ComponentInstance asComponent; //Used in updating the menu automatically NSTimer *refreshTimer; - int curTrackIndex; + int curTrackIndex, curPlaylistIndex; int trackInfoIndex; + bool isPlayingRadio; ProcessSerialNumber iTunesPSN; - bool didHaveAlbumName; //Helper variable for creating the menu + bool didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu //For upcoming songs NSMenuItem *upcomingSongsItem; @@ -50,7 +51,7 @@ PreferencesController *prefsController; StatusWindowController *statusController; //Shows track info and upcoming songs. } - +- (void)registerDefaultsIfNeeded; - (void)rebuildMenu; - (void)clearHotKeys; - (ProcessSerialNumber)iTunesPSN;