-
Notifications
You must be signed in to change notification settings - Fork 0
/
RPURLLoaderController.h
49 lines (35 loc) · 1.22 KB
/
RPURLLoaderController.h
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
48
49
//
// RPURLLoaderController.h
// Rampler
//
// Copyright 2010-2012 Fotonauts. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#define MINI_INTERVAL 0.00001
@interface RPURLLoaderController : NSController
{
IBOutlet NSWindow *_window;
NSURLConnection *_connection;
NSString *_fileName;
NSFileHandle *_fileHandle;
NSString* _secretKey;
NSInteger _httpStatusCode;
BOOL _openURLNibLoaded;
NSModalSession _urlOpenerSession;
}
@property(nonatomic) NSString *urlString;
@property(nonatomic) NSString *secretKey;
@property(nonatomic, readwrite) NSNumber* samplingInterval;
@property(nonatomic, readwrite) NSNumber* samplingTimeout;
@property(nonatomic, readonly) NSString *fileName;
@property(nonatomic, readonly, assign) BOOL isLoadingURL;
@property(nonatomic, readwrite, copy) NSArray *recentURLStrings;
@property(nonatomic, readwrite, weak) NSNumber* defaultSamplingInterval;
@property(nonatomic) IBOutlet NSWindow *openURLWindow;
@property(nonatomic) IBOutlet NSWindow *progressWindow;
+ (RPURLLoaderController*)sharedURLLoaderController;
- (IBAction)openOpenURLDialog:(id)sender;
- (IBAction)openDialogActionButtonClicked:(id)sender;
- (IBAction)openDialogCloseButtonClicked:(id)sender;
- (BOOL)start;
@end