git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding loads of neato registration stuff!
[MenuTunes.git]
/
MenuController.h
diff --git
a/MenuController.h
b/MenuController.h
index
c829533
..
55ae240
100755
(executable)
--- a/
MenuController.h
+++ b/
MenuController.h
@@
-7,6
+7,7
@@
//
#import <Cocoa/Cocoa.h>
//
#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
// 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
@@
-32,17
+33,26
@@
typedef enum {
MTMenuRewindItem,
MTMenuPreviousTrackItem,
MTMenuNextTrackItem,
MTMenuRewindItem,
MTMenuPreviousTrackItem,
MTMenuNextTrackItem,
+ MTMenuShowPlayerItem,
MTMenuPreferencesItem,
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;
+ BOOL _playingRadio;
}
- (NSMenu *)menu;
}
- (NSMenu *)menu;
+- (NSMenu *)menuForNoPlayer;
+- (void)rebuildSubmenus;
// - (NSArray *)menuLayout;
// - (void)setMenuLayout:(NSArray *)newLayoutArray;
// - (NSArray *)menuLayout;
// - (void)setMenuLayout:(NSArray *)newLayoutArray;