*/
/* }}} */
-#ifndef CyteKit_CydiaBrowserController_H
-#define CyteKit_CydiaBrowserController_H
+#ifndef CyteKit_CyteWebViewController_H
+#define CyteKit_CyteWebViewController_H
#include "CyteKit/CyteViewController.h"
#include "CyteKit/CyteWebView.h"
@class IndirectDelegate;
-@protocol BrowserControllerDelegate
+@protocol CyteWebViewControllerDelegate
- (void) retainNetworkActivityIndicator;
- (void) releaseNetworkActivityIndicator;
- (CYViewController *) pageForURL:(NSURL *)url forExternal:(BOOL)external;
- (void) unloadData;
@end
-@interface BrowserController : CYViewController <
+@interface CyteWebViewController : CYViewController <
CyteWebViewDelegate,
UIWebViewDelegate
> {
@end
-#endif//CyteKit_CydiaBrowserController_H
+#endif//CyteKit_CyteWebViewController_H
@end
/* }}} */
-@implementation BrowserController
+@implementation CyteWebViewController
#if ShowInternals
#include "CyteKit/UCInternal.h"
- (void) dealloc {
#if LogBrowser
- NSLog(@"[BrowserController dealloc]");
+ NSLog(@"[CyteWebViewController dealloc]");
#endif
[webview_ setDelegate:nil];
CYViewController *page([delegate_ pageForURL:url forExternal:NO]);
if (page == nil) {
- BrowserController *browser([[[class_ alloc] init] autorelease]);
+ CyteWebViewController *browser([[[class_ alloc] init] autorelease]);
[browser loadRequest:request];
page = browser;
}