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,
42 @interface MenuController : NSObject
44 NSMutableArray *_menuLayout;
46 NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu; //Submenus
48 ITMTRemote *currentRemote;
49 int _currentPlaylist, _currentTrack;
54 - (NSMenu *)menuForNoPlayer;
55 - (void)rebuildSubmenus;
57 // - (NSArray *)menuLayout;
58 // - (void)setMenuLayout:(NSArray *)newLayoutArray;