X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/9d8dbcc95c9e3ea959f034d5ddb2edcc71fe1f59..a876619d0c610eaee6aa5e1a105106f265b2c084:/MenuController.h diff --git a/MenuController.h b/MenuController.h index 55ae240..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,6 +34,7 @@ typedef enum { MTMenuNextTrackItem, MTMenuShowPlayerItem, MTMenuPreferencesItem, + MTMenuAboutItem, MTMenuQuitItem, MTMenuRegisterItem } MTMenuItemTag; @@ -43,16 +43,15 @@ typedef enum { { NSMutableArray *_menuLayout; NSMenu *_currentMenu; - NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu; //Submenus + NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu, *_artistsMenu, *_albumsMenu; //Submenus - ITMTRemote *currentRemote; int _currentPlaylist, _currentTrack; - BOOL _playingRadio; + BOOL _playingRadio, _continue; } - (NSMenu *)menu; - (NSMenu *)menuForNoPlayer; -- (void)rebuildSubmenus; +- (BOOL)rebuildSubmenus; // - (NSArray *)menuLayout; // - (void)setMenuLayout:(NSArray *)newLayoutArray;