X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/245cce8a71ed97c46820817aac27bb5874455efc..8c02abc80fedbedc5a7932d01995a526f347c98d:/UICaboodle/BrowserView.h diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index f1a9dbcb..69d0bfc8 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -40,14 +40,12 @@ @end @protocol BrowserViewDelegate -- (RVPage *) pageForURL:(NSURL *)url hasTag:(int *)tag; +- (UCViewController *) pageForURL:(NSURL *)url hasTag:(int *)tag; @end -@interface BrowserView : RVPage < - RVBookHook -> { +@interface BrowserView : UCViewController { UIScroller *scroller_; - UIWebDocumentView *webview_; + UIWebDocumentView *document_; UIProgressIndicator *indicator_; IndirectDelegate *indirect_; NSURLAuthenticationChallenge *challenge_; @@ -80,6 +78,8 @@ Class class_; } ++ (void) _initialize; + - (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button; - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; @@ -94,9 +94,9 @@ - (WebView *) webView; - (UIWebDocumentView *) documentView; -- (id) initWithBook:(RVBook *)book; -- (id) initWithBook:(RVBook *)book forWidth:(float)width; -- (id) initWithBook:(RVBook *)book forWidth:(float)width ofClass:(Class)_class; +- (id) init; +- (id) initWithWidth:(float)width; +- (id) initWithWidth:(float)width ofClass:(Class)_class; - (NSString *) stringByEvaluatingJavaScriptFromString:(NSString *)script; - (void) callFunction:(WebScriptObject *)function; @@ -119,4 +119,4 @@ - (bool) promptForSensitive:(NSString *)name; - (bool) allowSensitiveRequests; -@end +@end \ No newline at end of file