X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/8dbdaafa2948a9c2fb180a9571bf3bb0a669b934..d4465f99f01ebe015a2ee1d25583bf55bb99dab5:/UICaboodle/BrowserView.h diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index 51cb345f..1d87d614 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -1,5 +1,4 @@ #import -#import #import @@ -10,6 +9,8 @@ #import +#include "substrate.h" + @class NSMutableArray; @class NSString; @class NSURL; @@ -54,11 +55,11 @@ - (void) retainNetworkActivityIndicator; - (void) releaseNetworkActivityIndicator; - (CYViewController *) pageForURL:(NSURL *)url forExternal:(BOOL)external; +- (void) unloadData; @end @interface BrowserController : CYViewController < CYWebViewDelegate, - HookProtocol, UIWebViewDelegate > { _transient CYWebView *webview_; @@ -69,7 +70,7 @@ NSURLAuthenticationChallenge *challenge_; bool error_; - NSURLRequest *request_; + _H request_; _transient NSNumber *sensitive_; @@ -77,17 +78,20 @@ NSMutableSet *loading_; // XXX: NSString * or UIImage * - id custom_; - NSString *style_; + _H custom_; + _H style_; - WebScriptObject *function_; - WebScriptObject *closer_; + _H function_; float width_; Class class_; UIBarButtonItem *reloaditem_; UIBarButtonItem *loadingitem_; + + bool visible_; + bool hidesNavigationBar_; + bool allowsNavigationAction_; } + (void) _initialize; @@ -117,7 +121,7 @@ - (void) setButtonImage:(NSString *)button withStyle:(NSString *)style toFunction:(id)function; - (void) setButtonTitle:(NSString *)button withStyle:(NSString *)style toFunction:(id)function; -- (void) setPopupHook:(id)function; +- (void) setHidesNavigationBar:(bool)value; - (void) alertView:(UIAlertView *)alert clickedButtonAtIndex:(NSInteger)button; - (void) customButtonClicked;