From 8808689fe340bec6e90ab13dd502292b0579cf1f Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 08 Dec 2012 21:19:17 +0000 Subject: initial osx port Signed-off-by: Michael Krelin --- (limited to 'pumpkin/ARequest.h') diff --git a/pumpkin/ARequest.h b/pumpkin/ARequest.h new file mode 100644 index 0000000..232dcf8 --- a/dev/null +++ b/pumpkin/ARequest.h @@ -0,0 +1,47 @@ +#import + +@interface ARequest : NSWindowController { + BOOL requestIsGet; + + CFHostRef cfhost; + + NSString *localFile; + NSString *remoteHost; + NSNumber *remotePort; + NSString *remoteFile; + NSString *xferType; + NSNumber *blockSize; + NSNumber *timeout; + + NSTextField *remoteHostBox; + BOOL doTouchMe; + NSString *statusLabel; + NSString *errorLabel; +} + +@property BOOL requestIsGet; +@property BOOL doTouchMe; +@property (copy) NSString *statusLabel; +@property (copy) NSString *errorLabel; + +@property (copy) NSString *localFile; +@property (copy) NSString *remoteHost; +@property (copy) NSNumber *remotePort; +@property (copy) NSString *remoteFile; +@property (copy) NSString *xferType; +@property (copy) NSNumber *blockSize; +@property (copy) NSNumber *timeout; + +@property (assign) IBOutlet NSTextField *remoteHostBox; + +- (IBAction)startXfer:(id)sender; +- (IBAction)pickFile:(id)sender; + +-(void)hostCallbackWithHost:(CFHostRef)h info:(CFHostInfoType)hi andError:(const CFStreamError*)e; + ++(void)getFile; ++(void)putFile; + +-(ARequest*)initWithGet:(BOOL)gr; + +@end -- cgit v0.9.0.2