X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/545c9e281e8ac3ce259afc85d6a554849d8efe86..b27aba7ff5351d788e6250b7dd0e38c15a001817:/MenuController.h?ds=inline diff --git a/MenuController.h b/MenuController.h index 83d55bc..5768a39 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,24 @@ typedef enum { MTMenuNextTrackItem, MTMenuShowPlayerItem, MTMenuPreferencesItem, - MTMenuQuitItem + MTMenuAboutItem, + MTMenuQuitItem, + MTMenuRegisterItem } MTMenuItemTag; @interface MenuController : NSObject { NSMutableArray *_menuLayout; NSMenu *_currentMenu; + NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu, *_artistsMenu, *_albumsMenu; //Submenus - ITMTRemote *currentRemote; int _currentPlaylist, _currentTrack; - BOOL _playingRadio; + BOOL _playingRadio, _continue; } - (NSMenu *)menu; - (NSMenu *)menuForNoPlayer; +- (BOOL)rebuildSubmenus; // - (NSArray *)menuLayout; // - (void)setMenuLayout:(NSArray *)newLayoutArray;