Added audioscrobbler status strings
[MenuTunes.git] / NetworkController.h
index ae40030..62f221e 100755 (executable)
     NSMutableArray *remoteServices;
     
     NSConnection *serverConnection, *clientConnection;
     NSMutableArray *remoteServices;
     
     NSConnection *serverConnection, *clientConnection;
-    NSSocketPort *serverPort, *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;
 
 - (void)stopRemoteServerSearch;
 
 - (void)setServerStatus:(BOOL)status;
 - (void)stopRemoteServerSearch;
 
 - (void)setServerStatus:(BOOL)status;
-- (BOOL)connectToHost:(NSString *)host;
+- (int)connectToHost:(NSString *)host;
 - (BOOL)checkForServerAtHost:(NSString *)host;
 - (BOOL)disconnect;
 - (BOOL)checkForServerAtHost:(NSString *)host;
 - (BOOL)disconnect;
+- (void)resetServerName;
 - (BOOL)isServerOn;
 - (BOOL)isClientConnected;
 - (BOOL)isConnectedToServer;
 - (BOOL)isServerOn;
 - (BOOL)isClientConnected;
 - (BOOL)isConnectedToServer;