root / asi-http-request-with-pithos / Mac Sample / AppDelegate.h @ be116d22
History | View | Annotate | Download (2.1 kB)
1 |
//
|
---|---|
2 |
// AppDelegate.h
|
3 |
//
|
4 |
// Created by Ben Copsey on 09/07/2008.
|
5 |
// Copyright 2008 All-Seeing Interactive Ltd. All rights reserved.
|
6 |
//
|
7 |
|
8 |
#import <WebKit/WebKit.h>
|
9 |
|
10 |
@class ASIHTTPRequest;
|
11 |
@class ASINetworkQueue;
|
12 |
|
13 |
@interface AppDelegate : NSObject {
|
14 |
ASINetworkQueue *networkQueue; |
15 |
IBOutlet NSProgressIndicator *progressIndicator; |
16 |
IBOutlet NSTextView *htmlSource; |
17 |
IBOutlet NSTextField *fileLocation; |
18 |
IBOutlet NSWindow *window; |
19 |
IBOutlet NSWindow *loginWindow; |
20 |
|
21 |
IBOutlet NSButton *showAccurateProgress; |
22 |
|
23 |
IBOutlet NSTextField *host; |
24 |
IBOutlet NSTextField *realm; |
25 |
IBOutlet NSTextField *username; |
26 |
IBOutlet NSTextField *password; |
27 |
|
28 |
IBOutlet NSTextField *topSecretInfo; |
29 |
IBOutlet NSButton *keychainCheckbox; |
30 |
|
31 |
IBOutlet NSImageView *imageView1; |
32 |
IBOutlet NSImageView *imageView2; |
33 |
IBOutlet NSImageView *imageView3; |
34 |
IBOutlet NSProgressIndicator *imageProgress1; |
35 |
IBOutlet NSProgressIndicator *imageProgress2; |
36 |
IBOutlet NSProgressIndicator *imageProgress3; |
37 |
|
38 |
IBOutlet NSButton *startButton; |
39 |
IBOutlet NSButton *resumeButton; |
40 |
|
41 |
IBOutlet NSTextField *bandwidthUsed; |
42 |
|
43 |
ASIHTTPRequest *bigFetchRequest; |
44 |
IBOutlet NSTextField *postStatus; |
45 |
|
46 |
IBOutlet NSTableView *tableView; |
47 |
IBOutlet NSTextField *tableLoadStatus; |
48 |
NSMutableArray *rowData; |
49 |
ASINetworkQueue *tableQueue; |
50 |
|
51 |
IBOutlet WebView *webView; |
52 |
IBOutlet NSTextView *webPageSource; |
53 |
IBOutlet NSTextField *urlField; |
54 |
IBOutlet NSButton *dataURICheckbox; |
55 |
} |
56 |
|
57 |
- (IBAction)simpleURLFetch:(id)sender; |
58 |
- (IBAction)URLFetchWithProgress:(id)sender; |
59 |
- (IBAction)stopURLFetchWithProgress:(id)sender; |
60 |
- (IBAction)resumeURLFetchWithProgress:(id)sender; |
61 |
|
62 |
- (IBAction)fetchThreeImages:(id)sender; |
63 |
|
64 |
|
65 |
- (IBAction)dismissAuthSheet:(id)sender; |
66 |
- (IBAction)fetchTopSecretInformation:(id)sender; |
67 |
|
68 |
- (IBAction)postWithProgress:(id)sender; |
69 |
|
70 |
- (IBAction)throttleBandwidth:(id)sender; |
71 |
|
72 |
- (IBAction)reloadTableData:(id)sender; |
73 |
- (IBAction)clearCache:(id)sender; |
74 |
- (IBAction)fetchWebPage:(id)sender; |
75 |
|
76 |
@property (retain, nonatomic) ASIHTTPRequest *bigFetchRequest;
|
77 |
@property (retain, nonatomic) NSMutableArray *rowData;
|
78 |
@property (retain, nonatomic) ASINetworkQueue *tableQueue;
|
79 |
@end
|