//
#import <Cocoa/Cocoa.h>
-#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
MTMenuNextTrackItem,
MTMenuShowPlayerItem,
MTMenuPreferencesItem,
- MTMenuQuitItem,
- MTMenuRegisterItem
+ MTMenuAboutItem,
+ MTMenuQuitItem
} MTMenuItemTag;
@interface MenuController : NSObject
{
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;