Added a reset prefs status window for when the user first upgrades to 1.2
[MenuTunes.git] / NetworkController.h
index 1f1f799..62f221e 100755 (executable)
     NSMutableArray *remoteServices;
     
     NSConnection *serverConnection, *clientConnection;
     NSMutableArray *remoteServices;
     
     NSConnection *serverConnection, *clientConnection;
-    NSSocketPort *clientPort;
+    NSSocketPort *clientPort, *serverPort;
     NSString *remoteHost;
     BOOL serverOn, clientConnected, connectedToServer;
     NSData *serverPass, *clientPass;
     NSString *remoteHost;
     BOOL serverOn, clientConnected, connectedToServer;
     NSData *serverPass, *clientPass;
-    NetworkObject *clientProxy;
+    NetworkObject *rootObject, *clientProxy;
 }
 + (NetworkController *)sharedController;
 
 }
 + (NetworkController *)sharedController;
 
@@ -39,6 +39,7 @@
 - (int)connectToHost:(NSString *)host;
 - (BOOL)checkForServerAtHost:(NSString *)host;
 - (BOOL)disconnect;
 - (int)connectToHost:(NSString *)host;
 - (BOOL)checkForServerAtHost:(NSString *)host;
 - (BOOL)disconnect;
+- (void)resetServerName;
 - (BOOL)isServerOn;
 - (BOOL)isClientConnected;
 - (BOOL)isConnectedToServer;
 - (BOOL)isServerOn;
 - (BOOL)isClientConnected;
 - (BOOL)isConnectedToServer;