summaryrefslogtreecommitdiffabout
path: root/pumpkin/ARequest.h
authorMichael Krelin <hacker@klever.net>2012-12-08 21:19:17 (UTC)
committer Michael Krelin <hacker@klever.net>2012-12-11 21:59:29 (UTC)
commit8808689fe340bec6e90ab13dd502292b0579cf1f (patch) (side-by-side diff)
tree45b7c863151341f687b74e40bffcbd7ab5468783 /pumpkin/ARequest.h
parent6e7e413ca364d79673e523c09767c18e7cff1bec (diff)
downloadpumpkin-osx/0.0.zip
pumpkin-osx/0.0.tar.gz
pumpkin-osx/0.0.tar.bz2
initial osx portosx/0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'pumpkin/ARequest.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pumpkin/ARequest.h47
1 files changed, 47 insertions, 0 deletions
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 <Cocoa/Cocoa.h>
+
+@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