Licensing MenuTunes under the GNU General Public License version 2.
[MenuTunes.git] / MenuController.h
index 83d55bc..8981e59 100755 (executable)
@@ -1,13 +1,12 @@
-//
-//  MenuController.h
-//  MenuTunes
-//
-//  Created by Joseph Spiros on Wed Apr 30 2003.
-//  Copyright (c) 2003 iThink Software. All rights reserved.
-//
+/*
+ *     MenuTunes
+ *     MenuController.h
+ *
+ *     Copyright (c) 2003 iThink Software
+ *
+ */
 
 #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
@@ -35,6 +34,7 @@ typedef enum {
     MTMenuNextTrackItem,
     MTMenuShowPlayerItem,
     MTMenuPreferencesItem,
+       MTMenuAboutItem,
     MTMenuQuitItem
 } MTMenuItemTag;
 
@@ -42,14 +42,15 @@ typedef enum {
 {
     NSMutableArray *_menuLayout;
     NSMenu *_currentMenu;
+    NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu, *_artistsMenu, *_albumsMenu; //Submenus
     
-    ITMTRemote *currentRemote;
     int _currentPlaylist, _currentTrack;
-    BOOL _playingRadio;
+    BOOL _playingRadio, _continue;
 }
 
 - (NSMenu *)menu;
 - (NSMenu *)menuForNoPlayer;
+- (BOOL)rebuildSubmenus;
 
 // - (NSArray *)menuLayout;
 // - (void)setMenuLayout:(NSArray *)newLayoutArray;