Added a Refresh item to the playlists menu that refreshes the submenu.
[MenuTunes.git] / MainController.h
index 6db9977..e1ad2a4 100755 (executable)
@@ -43,8 +43,9 @@
     
     MTBlingController *bling;
     NSTimer *registerTimer;
-    BOOL timerUpdating;
+    BOOL timerUpdating, _checkingForServer, _popped;
     BOOL blinged;
+    NSLock *_serverCheckLock;
 }
 + (MainController *)sharedController;
 
@@ -77,7 +78,7 @@
 - (void)setServerStatus:(BOOL)newStatus;
 - (int)connectToServer;
 - (BOOL)disconnectFromServer;
-- (void)checkForRemoteServer;
+- (void)checkForRemoteServerAndConnectImmediately:(BOOL)connectImmediately;
 - (void)networkError:(NSException *)exception;
 
 //