git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shadowless StatusWindow graphics, as well as an ITImageView which casts a shadow.
[MenuTunes.git]
/
NetworkController.h
diff --git
a/NetworkController.h
b/NetworkController.h
index
9a4024b
..
1f1f799
100755
(executable)
--- a/
NetworkController.h
+++ b/
NetworkController.h
@@
-15,7
+15,7
@@
#define SERVER_PORT 5712
#define SERVER_PORT 5712
-@class
ITMTRemote
;
+@class
NetworkObject
;
@interface NetworkController : NSObject
{
@interface NetworkController : NSObject
{
@@
-24,11
+24,11
@@
NSMutableArray *remoteServices;
NSConnection *serverConnection, *clientConnection;
NSMutableArray *remoteServices;
NSConnection *serverConnection, *clientConnection;
- NSSocketPort *
serverPort, *
clientPort;
+ NSSocketPort *clientPort;
NSString *remoteHost;
BOOL serverOn, clientConnected, connectedToServer;
NSData *serverPass, *clientPass;
NSString *remoteHost;
BOOL serverOn, clientConnected, connectedToServer;
NSData *serverPass, *clientPass;
-
ITMTRemote
*clientProxy;
+
NetworkObject
*clientProxy;
}
+ (NetworkController *)sharedController;
}
+ (NetworkController *)sharedController;
@@
-36,7
+36,7
@@
- (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)isServerOn;
- (BOOL)checkForServerAtHost:(NSString *)host;
- (BOOL)disconnect;
- (BOOL)isServerOn;
@@
-44,6
+44,6
@@
- (BOOL)isConnectedToServer;
- (NSString *)remoteHost;
- (BOOL)isConnectedToServer;
- (NSString *)remoteHost;
-- (
ITMTRemote *)sharedRemote
;
+- (
NetworkObject *)networkObject
;
- (NSArray *)remoteServices;
@end
- (NSArray *)remoteServices;
@end