5 // Created by Joseph Spiros on Wed Apr 30 2003.
6 // Copyright (c) 2003 iThink Software. All rights reserved.
9 #import <Cocoa/Cocoa.h>
11 // Internal: To be used with NSMenuItems as their tag, for use with the NSMenuValidation stuff.
12 // Also will be used in supplying the controller with the layout to use for the MenuItems, unless
13 // we have the controller read the prefs itself.
16 MTMenuTrackInfoHeader,
19 MTMenuTrackInfoArtist,
20 MTMenuTrackInfoTrackTime,
21 MTMenuTrackInfoTrackNumber,
22 MTMenuTrackInfoRating,
26 MTMenuUpcomingSongsMenu,
31 MTMenuFastForwardItem,
33 MTMenuPreviousTrackItem,
36 MTMenuPreferencesItem,
41 @interface MenuController : NSObject
43 NSMutableArray *_menuLayout;
45 NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu; //Submenus
47 int _currentPlaylist, _currentTrack;
52 - (NSMenu *)menuForNoPlayer;
53 - (void)rebuildSubmenus;
55 // - (NSArray *)menuLayout;
56 // - (void)setMenuLayout:(NSArray *)newLayoutArray;