]> git.saurik.com Git - cydia.git/blob - UICaboodle/BrowserView.h
Added custom depictions and better webview support.
[cydia.git] / UICaboodle / BrowserView.h
1 #import "ResetView.h"
2
3 @class NSMutableArray;
4 @class NSString;
5 @class NSURL;
6 @class NSURLRequest;
7
8 @class UIProgressIndicator;
9 @class UIScroller;
10 @class UIWebView;
11
12 @class WebView;
13
14 @class Database;
15
16 @interface BrowserView : RVPage {
17 _transient Database *database_;
18 UIScroller *scroller_;
19 UIWebView *webview_;
20 NSMutableArray *urls_;
21 UIProgressIndicator *indicator_;
22
23 NSString *title_;
24 bool loading_;
25 bool reloading_;
26
27 bool pushed_;
28 }
29
30 - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
31 - (void) loadURL:(NSURL *)url;
32
33 - (void) loadRequest:(NSURLRequest *)request;
34 - (void) reloadURL;
35
36 - (WebView *) webView;
37
38 - (id) initWithBook:(RVBook *)book database:(Database *)database;
39
40 - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame;
41
42 @end