X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/7cd79252cc4ede9035cf21ce21dd3044fd5ec8a1..refs/heads/master:/MenuController.h?ds=sidebyside diff --git a/MenuController.h b/MenuController.h index 8a5091f..8981e59 100755 --- a/MenuController.h +++ b/MenuController.h @@ -1,10 +1,10 @@ -// -// 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 @@ -32,16 +32,25 @@ typedef enum { MTMenuRewindItem, MTMenuPreviousTrackItem, MTMenuNextTrackItem, + MTMenuShowPlayerItem, MTMenuPreferencesItem, + MTMenuAboutItem, MTMenuQuitItem } MTMenuItemTag; @interface MenuController : NSObject { NSMutableArray *_menuLayout; + NSMenu *_currentMenu; + NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu, *_artistsMenu, *_albumsMenu; //Submenus + + int _currentPlaylist, _currentTrack; + BOOL _playingRadio, _continue; } - (NSMenu *)menu; +- (NSMenu *)menuForNoPlayer; +- (BOOL)rebuildSubmenus; // - (NSArray *)menuLayout; // - (void)setMenuLayout:(NSArray *)newLayoutArray;