blob: 232dcf8c471a6766137ff34b9043264c83c42793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
|