]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/BrowserView.h
Remove obsolete make.sh.
[cydia.git] / UICaboodle / BrowserView.h
index 51cb345fed145c899b229001dd8aa90e53996a9d..1d87d6146ccf5310aac59520f5edfada48eac5ca 100644 (file)
@@ -1,5 +1,4 @@
 #import <UICaboodle/RVPage.h>
-#import <UICaboodle/RVBook.h>
 
 #import <UIKit/UIKit.h>
 
@@ -10,6 +9,8 @@
 
 #import <JavaScriptCore/JavaScriptCore.h>
 
+#include "substrate.h"
+
 @class NSMutableArray;
 @class NSString;
 @class NSURL;
 - (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<NSURLRequest> request_;
 
     _transient NSNumber *sensitive_;
 
     NSMutableSet *loading_;
 
     // XXX: NSString * or UIImage *
-    id custom_;
-    NSString *style_;
+    _H<NSObject> custom_;
+    _H<NSString> style_;
 
-    WebScriptObject *function_;
-    WebScriptObject *closer_;
+    _H<WebScriptObject> function_;
 
     float width_;
     Class class_;
 
     UIBarButtonItem *reloaditem_;
     UIBarButtonItem *loadingitem_;
+
+    bool visible_;
+    bool hidesNavigationBar_;
+    bool allowsNavigationAction_;
 }
 
 + (void) _initialize;
 
 - (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;