X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/fcbc4baf73d5054212eb69f728ef9c303e1c62a5..98e371e074f79172824889ac1935f612a13c0290:/MenuTunes.h diff --git a/MenuTunes.h b/MenuTunes.h index e31a663..e48b9a6 100755 --- a/MenuTunes.h +++ b/MenuTunes.h @@ -1,20 +1,35 @@ -/* MenuTunes */ +/* + * MenuTunes + * MenuTunes + * App Controller Class + * + * Original Author : Kent Sutherland + * Responsibility : Kent Sutherland + * + * Copyright (c) 2002 iThink Software. + * All Rights Reserved + * + */ + #import #import -@class MenuTunesView, PreferencesController, StatusWindowController; +//@class MenuTunesView; +@class PreferencesController, StatusWindowController; @interface MenuTunes : NSObject { NSStatusItem *statusItem; NSMenu *menu; - MenuTunesView *view; +// 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 @@ -38,21 +53,8 @@ } - (void)rebuildMenu; -- (void)updateMenu; -- (void)rebuildUpcomingSongsMenu; -- (void)rebuildPlaylistMenu; -- (void)rebuildEQPresetsMenu; - - (void)clearHotKeys; -- (void)setupHotKeys; - -- (NSString *)runScriptAndReturnResult:(NSString *)script; -- (void)timerUpdate; - - (ProcessSerialNumber)iTunesPSN; - -- (void)sendAEWithEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID; - - (void)closePreferences; @end