X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/50485da2e6ae0642e4dfb55ef4c0556ed6ef2a80..6162e11fb9ec9ca0f4add4d5838e98a31ead4a21:/MainController.h diff --git a/MainController.h b/MainController.h index 2c0cf32..f5c0834 100755 --- a/MainController.h +++ b/MainController.h @@ -43,8 +43,9 @@ MTBlingController *bling; NSTimer *registerTimer; - BOOL timerUpdating; + BOOL timerUpdating, _checkingForServer; BOOL blinged; + NSLock *_serverCheckLock; } + (MainController *)sharedController; @@ -77,6 +78,7 @@ - (void)setServerStatus:(BOOL)newStatus; - (int)connectToServer; - (BOOL)disconnectFromServer; +- (void)checkForRemoteServerAndConnectImmediately:(BOOL)connectImmediately; - (void)networkError:(NSException *)exception; // @@ -90,3 +92,7 @@ - (void)showCurrentTrackInfo; @end + +@interface NSImage (SmoothAdditions) +- (NSImage *)imageScaledSmoothlyToSize:(NSSize)scaledSize; +@end \ No newline at end of file