git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Track window doesn't show up again if you have a really long drag in
[MenuTunes.git]
/
OldMainController.h
diff --git
a/OldMainController.h
b/OldMainController.h
index
252ae3a
..
d96bbd1
100755
(executable)
--- a/
OldMainController.h
+++ b/
OldMainController.h
@@
-17,10
+17,8
@@
#import <ITKit/ITKit.h>
#import <ITFoundation/ITFoundation.h>
#import <ITMTRemote/ITMTRemote.h>
#import <ITKit/ITKit.h>
#import <ITFoundation/ITFoundation.h>
#import <ITMTRemote/ITMTRemote.h>
-#import <StatusWindow.h>
-
-//@class MenuTunesView;
-@class PreferencesController, StatusWindow;
+#import "PreferencesController.h"
+#import "StatusWindow.h"
@interface MainController : NSObject
{
@interface MainController : NSObject
{
@@
-32,13
+30,13
@@
//Used in updating the menu automatically
NSTimer *refreshTimer;
int trackInfoIndex;
//Used in updating the menu automatically
NSTimer *refreshTimer;
int trackInfoIndex;
- int lastSongIndex;
+
int lastPlaylistIndex;
int lastPlaylistIndex;
+ NSString *lastSongIdentifier;
+ int lastSongRating;
BOOL isPlayingRadio;
ITMTRemotePlayerRunningState isAppRunning;
BOOL isPlayingRadio;
ITMTRemotePlayerRunningState isAppRunning;
- BOOL didHaveAlbumName;
- BOOL didHaveArtistName; //Helper variable for creating the menu
//For upcoming songs
NSMenuItem *upcomingSongsItem;
//For upcoming songs
NSMenuItem *upcomingSongsItem;
@@
-53,28
+51,21
@@
NSMenu *eqMenu;
//For song ratings
NSMenu *eqMenu;
//For song ratings
- NSMenuItem *
songRatingMenu
Item;
+ NSMenuItem *
rating
Item;
NSMenu *ratingMenu;
NSMenu *ratingMenu;
- NSMenuItem *playPause
Menu
Item; //Toggle between 'Play' and 'Pause'
+ NSMenuItem *playPauseItem; //Toggle between 'Play' and 'Pause'
- PreferencesController *prefsController;
StatusWindow *statusWindow; //Shows track info and upcoming songs.
}
StatusWindow *statusWindow; //Shows track info and upcoming songs.
}
-- (void)
remotePlayer
Launched:(NSNotification *)note;
-- (void)
remotePlayer
Terminated:(NSNotification *)note;
+- (void)
application
Launched:(NSNotification *)note;
+- (void)
application
Terminated:(NSNotification *)note;
-- (void)registerDefaultsIfNeeded;
- (void)rebuildMenu;
- (void)rebuildMenu;
-- (void)runTimerInNewThread;
-
-- (void)setSongRating:(id)sender;
-
+- (ITMTRemote *)currentRemote;
- (void)clearHotKeys;
- (void)closePreferences;
- (void)clearHotKeys;
- (void)closePreferences;
-- (void)showPlayer;
-
@end
@end