git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrading MenuTunes to Xcode 2.1 and updating code
[MenuTunes.git]
/
MenuController.h
diff --git
a/MenuController.h
b/MenuController.h
index
6163bb1
..
5768a39
100755
(executable)
--- a/
MenuController.h
+++ b/
MenuController.h
@@
-32,18
+32,26
@@
typedef enum {
MTMenuRewindItem,
MTMenuPreviousTrackItem,
MTMenuNextTrackItem,
MTMenuRewindItem,
MTMenuPreviousTrackItem,
MTMenuNextTrackItem,
+ MTMenuShowPlayerItem,
MTMenuPreferencesItem,
MTMenuPreferencesItem,
- MTMenuQuitItem
+ MTMenuAboutItem,
+ MTMenuQuitItem,
+ MTMenuRegisterItem
} MTMenuItemTag;
@interface MenuController : NSObject
{
NSMutableArray *_menuLayout;
NSMenu *_currentMenu;
} 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;
}
- (NSMenu *)menu;
- (NSMenu *)menuForNoPlayer;
+- (BOOL)rebuildSubmenus;
// - (NSArray *)menuLayout;
// - (void)setMenuLayout:(NSArray *)newLayoutArray;
// - (NSArray *)menuLayout;
// - (void)setMenuLayout:(NSArray *)newLayoutArray;