X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/545c9e281e8ac3ce259afc85d6a554849d8efe86..55639e195a5ec0ae91eba86cd0377df626e2040a:/MenuController.h?ds=sidebyside diff --git a/MenuController.h b/MenuController.h index 83d55bc..c9a393b 100755 --- a/MenuController.h +++ b/MenuController.h @@ -7,7 +7,6 @@ // #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 @@ -35,21 +34,23 @@ typedef enum { 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;