#include "CyteKit/WebView.h"
#include <UIKit/UIKit.h>
+#include <MessageUI/MessageUI.h>
-#include <CydiaSubstrate/CydiaSubstrate.h>
+#include <Menes/ObjectHandle.h>
@class IndirectDelegate;
@interface CyteWebViewController : CyteViewController <
CyteWebViewDelegate,
+ MFMailComposeViewControllerDelegate,
UIWebViewDelegate
> {
- _transient CyteWebView *webview_;
+ _H<CyteWebView, 1> webview_;
_transient UIScrollView *scroller_;
- UIActivityIndicatorView *indicator_;
- IndirectDelegate *indirect_;
- NSURLAuthenticationChallenge *challenge_;
+ _H<UIActivityIndicatorView> indicator_;
+ _H<IndirectDelegate, 1> indirect_;
+ _H<NSURLAuthenticationChallenge> challenge_;
bool error_;
_H<NSURLRequest> request_;
+ bool ready_;
+
+ _H<NSURLRequest> stage1_;
+ _H<NSURLRequest> stage2_;
_transient NSNumber *sensitive_;
- NSString *title_;
- NSMutableSet *loading_;
+ _H<NSString> title_;
+ _H<NSMutableSet> loading_;
// XXX: NSString * or UIImage *
_H<NSObject> custom_;
float width_;
Class class_;
- UIBarButtonItem *reloaditem_;
- UIBarButtonItem *loadingitem_;
+ _H<UIBarButtonItem> reloaditem_;
+ _H<UIBarButtonItem> loadingitem_;
bool visible_;
bool hidesNavigationBar_;
+ (void) _initialize;
+- (CyteWebView *) webView;
+
- (void) setURL:(NSURL *)url;
- (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
- (void) alertView:(UIAlertView *)alert clickedButtonAtIndex:(NSInteger)button;
- (void) customButtonClicked;
+
- (void) applyRightButton;
+- (UIBarButtonItem *) customButton;
+- (UIBarButtonItem *) rightButton;
+
+- (void) applyLeftButton;
+- (UIBarButtonItem *) leftButton;
- (void) _didStartLoading;
- (void) _didFinishLoading;