X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/cd79e8cf2d642eb18fca492be164c01c3ac4e318..c8910aa3d4e4dfeb66d91351e05d33a93728ee0b:/CyteKit/WebViewController.h diff --git a/CyteKit/WebViewController.h b/CyteKit/WebViewController.h index 99d55723..b6cd768b 100644 --- a/CyteKit/WebViewController.h +++ b/CyteKit/WebViewController.h @@ -44,8 +44,9 @@ #include "CyteKit/WebView.h" #include +#include -#include +#include @class IndirectDelegate; @@ -58,22 +59,27 @@ @interface CyteWebViewController : CyteViewController < CyteWebViewDelegate, + MFMailComposeViewControllerDelegate, UIWebViewDelegate > { - _transient CyteWebView *webview_; + _H webview_; _transient UIScrollView *scroller_; - UIActivityIndicatorView *indicator_; - IndirectDelegate *indirect_; - NSURLAuthenticationChallenge *challenge_; + _H indicator_; + _H indirect_; + _H challenge_; bool error_; _H request_; + bool ready_; + + _H stage1_; + _H stage2_; _transient NSNumber *sensitive_; - NSString *title_; - NSMutableSet *loading_; + _H title_; + _H loading_; // XXX: NSString * or UIImage * _H custom_; @@ -84,8 +90,8 @@ float width_; Class class_; - UIBarButtonItem *reloaditem_; - UIBarButtonItem *loadingitem_; + _H reloaditem_; + _H loadingitem_; bool visible_; bool hidesNavigationBar_; @@ -94,6 +100,8 @@ + (void) _initialize; +- (CyteWebView *) webView; + - (void) setURL:(NSURL *)url; - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; @@ -123,7 +131,13 @@ - (void) alertView:(UIAlertView *)alert clickedButtonAtIndex:(NSInteger)button; - (void) customButtonClicked; + - (void) applyRightButton; +- (UIBarButtonItem *) customButton; +- (UIBarButtonItem *) rightButton; + +- (void) applyLeftButton; +- (UIBarButtonItem *) leftButton; - (void) _didStartLoading; - (void) _didFinishLoading;