1
0
Fork 0

changed port to be an int rather than an NSInteger*

master
Spike Grobstein 14 years ago
parent 720112a9cb
commit 0ef2a69fb7

@ -27,7 +27,7 @@
//SEL errorCallback; //SEL errorCallback;
} }
- (id) initWithHostname:(NSString*)new_hostname port:(NSInteger*)new_port username:(NSString*)new_username password:(NSString*)new_password; - (id) initWithHostname:(NSString*)new_hostname port:(int)new_port username:(NSString*)new_username password:(NSString*)new_password;
- (NSMutableURLRequest*) buildRequest:(NSString*)uri; - (NSMutableURLRequest*) buildRequest:(NSString*)uri;
- (NSMutableURLRequest*) requestForBandwidthViewerForInterface:(NSString*)interface; - (NSMutableURLRequest*) requestForBandwidthViewerForInterface:(NSString*)interface;
@ -36,8 +36,8 @@
- (NSString*) getHostname; - (NSString*) getHostname;
- (void) setHostname:(NSString*)new_hostname; - (void) setHostname:(NSString*)new_hostname;
- (NSInteger*) getPort; - (int) getPort;
- (void) setPort:(NSInteger*)new_port; - (void) setPort:(int)new_port;
- (NSString*) getUsername; - (NSString*) getUsername;
- (void) setUsername:(NSString*)new_username; - (void) setUsername:(NSString*)new_username;

@ -11,7 +11,7 @@
@implementation WRTStatusClient @implementation WRTStatusClient
- (id) initWithHostname:(NSString*)new_hostname port:(NSInteger*)new_port username:(NSString*)new_username password:(NSString*)new_password - (id) initWithHostname:(NSString*)new_hostname port:(int)new_port username:(NSString*)new_username password:(NSString*)new_password
{ {
self = [super init]; self = [super init];

Loading…
Cancel
Save