X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/7cd79252cc4ede9035cf21ce21dd3044fd5ec8a1..9d8dbcc95c9e3ea959f034d5ddb2edcc71fe1f59:/MenuController.h diff --git a/MenuController.h b/MenuController.h index 8a5091f..55ae240 100755 --- a/MenuController.h +++ b/MenuController.h @@ -7,6 +7,7 @@ // #import +#import "ITMTRemote.h" // Internal: To be used with NSMenuItems as their tag, for use with the NSMenuValidation stuff. // Also will be used in supplying the controller with the layout to use for the MenuItems, unless @@ -32,16 +33,26 @@ typedef enum { MTMenuRewindItem, MTMenuPreviousTrackItem, MTMenuNextTrackItem, + MTMenuShowPlayerItem, MTMenuPreferencesItem, - MTMenuQuitItem + MTMenuQuitItem, + MTMenuRegisterItem } MTMenuItemTag; @interface MenuController : NSObject { NSMutableArray *_menuLayout; + NSMenu *_currentMenu; + NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu; //Submenus + + ITMTRemote *currentRemote; + int _currentPlaylist, _currentTrack; + BOOL _playingRadio; } - (NSMenu *)menu; +- (NSMenu *)menuForNoPlayer; +- (void)rebuildSubmenus; // - (NSArray *)menuLayout; // - (void)setMenuLayout:(NSArray *)newLayoutArray;