summaryrefslogtreecommitdiffabout
path: root/pumpkin/ARequest.h
Unidiff
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 @@
1#import <Cocoa/Cocoa.h>
2
3@interface ARequest : NSWindowController {
4 BOOL requestIsGet;
5
6 CFHostRef cfhost;
7
8 NSString *localFile;
9 NSString *remoteHost;
10 NSNumber *remotePort;
11 NSString *remoteFile;
12 NSString *xferType;
13 NSNumber *blockSize;
14 NSNumber *timeout;
15
16 NSTextField *remoteHostBox;
17 BOOL doTouchMe;
18 NSString *statusLabel;
19 NSString *errorLabel;
20}
21
22@property BOOL requestIsGet;
23@property BOOL doTouchMe;
24@property (copy) NSString *statusLabel;
25@property (copy) NSString *errorLabel;
26
27@property (copy) NSString *localFile;
28@property (copy) NSString *remoteHost;
29@property (copy) NSNumber *remotePort;
30@property (copy) NSString *remoteFile;
31@property (copy) NSString *xferType;
32@property (copy) NSNumber *blockSize;
33@property (copy) NSNumber *timeout;
34
35@property (assign) IBOutlet NSTextField *remoteHostBox;
36
37- (IBAction)startXfer:(id)sender;
38- (IBAction)pickFile:(id)sender;
39
40-(void)hostCallbackWithHost:(CFHostRef)h info:(CFHostInfoType)hi andError:(const CFStreamError*)e;
41
42+(void)getFile;
43+(void)putFile;
44
45-(ARequest*)initWithGet:(BOOL)gr;
46
47@end