git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing crashes :D
[MenuTunes.git]
/
MenuController.h
diff --git
a/MenuController.h
b/MenuController.h
index
83d55bc
..
55ae240
100755
(executable)
--- a/
MenuController.h
+++ b/
MenuController.h
@@
-35,13
+35,15
@@
typedef enum {
MTMenuNextTrackItem,
MTMenuShowPlayerItem,
MTMenuPreferencesItem,
MTMenuNextTrackItem,
MTMenuShowPlayerItem,
MTMenuPreferencesItem,
- MTMenuQuitItem
+ MTMenuQuitItem,
+ MTMenuRegisterItem
} MTMenuItemTag;
@interface MenuController : NSObject
{
NSMutableArray *_menuLayout;
NSMenu *_currentMenu;
} MTMenuItemTag;
@interface MenuController : NSObject
{
NSMutableArray *_menuLayout;
NSMenu *_currentMenu;
+ NSMenu *_ratingMenu, *_upcomingSongsMenu, *_eqMenu, *_playlistsMenu; //Submenus
ITMTRemote *currentRemote;
int _currentPlaylist, _currentTrack;
ITMTRemote *currentRemote;
int _currentPlaylist, _currentTrack;
@@
-50,6
+52,7
@@
typedef enum {
- (NSMenu *)menu;
- (NSMenu *)menuForNoPlayer;
- (NSMenu *)menu;
- (NSMenu *)menuForNoPlayer;
+- (void)rebuildSubmenus;
// - (NSArray *)menuLayout;
// - (void)setMenuLayout:(NSArray *)newLayoutArray;
// - (NSArray *)menuLayout;
// - (void)setMenuLayout:(NSArray *)newLayoutArray;