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