git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a reset prefs status window for when the user first upgrades to 1.2
[MenuTunes.git]
/
NetworkController.h
diff --git
a/NetworkController.h
b/NetworkController.h
index
1f1f799
..
62f221e
100755
(executable)
--- a/
NetworkController.h
+++ b/
NetworkController.h
@@
-24,11
+24,11
@@
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;