X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/ec1969da79832d035791a9d6647242fffe0b176a..6162e11fb9ec9ca0f4add4d5838e98a31ead4a21:/MainController.h?ds=inline diff --git a/MainController.h b/MainController.h index e4eeea2..f5c0834 100755 --- a/MainController.h +++ b/MainController.h @@ -19,6 +19,8 @@ #import #import "MTBlingController.h" +#define MT_CURRENT_VERSION 1300 + @class StatusWindowController, MenuController, NetworkController; @interface MainController : NSObject @@ -41,8 +43,9 @@ MTBlingController *bling; NSTimer *registerTimer; - BOOL timerUpdating; + BOOL timerUpdating, _checkingForServer; BOOL blinged; + NSLock *_serverCheckLock; } + (MainController *)sharedController; @@ -54,6 +57,8 @@ - (void)blingNow; - (BOOL)blingBling; +- (void)timerUpdate; + - (void)playPause; - (void)nextSong; - (void)prevSong; @@ -65,6 +70,7 @@ - (void)selectEQPresetAtIndex:(int)index; - (void)showPlayer; - (void)showPreferences; +- (void)showTestWindow; - (void)quitMenuTunes; // @@ -72,6 +78,7 @@ - (void)setServerStatus:(BOOL)newStatus; - (int)connectToServer; - (BOOL)disconnectFromServer; +- (void)checkForRemoteServerAndConnectImmediately:(BOOL)connectImmediately; - (void)networkError:(NSException *)exception; // @@ -80,5 +87,12 @@ - (void)clearHotKeys; - (void)setupHotKeys; - (void)closePreferences; +- (MenuController *)menuController; + +- (void)showCurrentTrackInfo; @end + +@interface NSImage (SmoothAdditions) +- (NSImage *)imageScaledSmoothlyToSize:(NSSize)scaledSize; +@end \ No newline at end of file