diff options
Diffstat (limited to 'UICaboodle/BrowserView.h')
-rw-r--r-- | UICaboodle/BrowserView.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h new file mode 100644 index 0000000..a58a5b7 --- /dev/null +++ b/UICaboodle/BrowserView.h @@ -0,0 +1,36 @@ +#import "ResetView.h" + +@class NSMutableArray; +@class NSString; +@class NSURL; +@class NSURLRequest; + +@class UIProgressIndicator; +@class UIScroller; +@class UIWebView; + +@class Database; + +@interface BrowserView : RVPage { + _transient Database *database_; + UIScroller *scroller_; + UIWebView *webview_; + NSMutableArray *urls_; + UIProgressIndicator *indicator_; + + NSString *title_; + bool loading_; + bool reloading_; +} + +- (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; +- (void) loadURL:(NSURL *)url; + +- (void) loadRequest:(NSURLRequest *)request; +- (void) reloadURL; + +- (WebView *) webView; + +- (id) initWithBook:(RVBook *)book database:(Database *)database; + +@end |