git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a Refresh item to the playlists menu that refreshes the submenu.
[MenuTunes.git]
/
MainController.h
diff --git
a/MainController.h
b/MainController.h
index
e4eeea2
..
e1ad2a4
100755
(executable)
--- a/
MainController.h
+++ b/
MainController.h
@@
-19,6
+19,8
@@
#import <ITMTRemote/ITMTRemote.h>
#import "MTBlingController.h"
#import <ITMTRemote/ITMTRemote.h>
#import "MTBlingController.h"
+#define MT_CURRENT_VERSION 1300
+
@class StatusWindowController, MenuController, NetworkController;
@interface MainController : NSObject
@class StatusWindowController, MenuController, NetworkController;
@interface MainController : NSObject
@@
-41,8
+43,9
@@
MTBlingController *bling;
NSTimer *registerTimer;
MTBlingController *bling;
NSTimer *registerTimer;
- BOOL timerUpdating;
+ BOOL timerUpdating
, _checkingForServer, _popped
;
BOOL blinged;
BOOL blinged;
+ NSLock *_serverCheckLock;
}
+ (MainController *)sharedController;
}
+ (MainController *)sharedController;
@@
-54,6
+57,8
@@
- (void)blingNow;
- (BOOL)blingBling;
- (void)blingNow;
- (BOOL)blingBling;
+- (void)timerUpdate;
+
- (void)playPause;
- (void)nextSong;
- (void)prevSong;
- (void)playPause;
- (void)nextSong;
- (void)prevSong;
@@
-65,6
+70,7
@@
- (void)selectEQPresetAtIndex:(int)index;
- (void)showPlayer;
- (void)showPreferences;
- (void)selectEQPresetAtIndex:(int)index;
- (void)showPlayer;
- (void)showPreferences;
+- (void)showTestWindow;
- (void)quitMenuTunes;
//
- (void)quitMenuTunes;
//
@@
-72,6
+78,7
@@
- (void)setServerStatus:(BOOL)newStatus;
- (int)connectToServer;
- (BOOL)disconnectFromServer;
- (void)setServerStatus:(BOOL)newStatus;
- (int)connectToServer;
- (BOOL)disconnectFromServer;
+- (void)checkForRemoteServerAndConnectImmediately:(BOOL)connectImmediately;
- (void)networkError:(NSException *)exception;
//
- (void)networkError:(NSException *)exception;
//
@@
-80,5
+87,12
@@
- (void)clearHotKeys;
- (void)setupHotKeys;
- (void)closePreferences;
- (void)clearHotKeys;
- (void)setupHotKeys;
- (void)closePreferences;
+- (MenuController *)menuController;
+
+- (void)showCurrentTrackInfo;
@end
@end
+
+@interface NSImage (SmoothAdditions)
+- (NSImage *)imageScaledSmoothlyToSize:(NSSize)scaledSize;
+@end
\ No newline at end of file