summaryrefslogtreecommitdiff
path: root/CyteKit
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-01 08:44:48 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:32 -0800
commit09e89a8a6d75e0e9913c419049012cef6e9da785 (patch)
treefcc11866e824aec4b2bedcb906874f1bf34c3687 /CyteKit
parenta576488fdc04e8fb7ecf980c07f6300774232ed0 (diff)
Rename BrowserController to CyteWebViewController.
Diffstat (limited to 'CyteKit')
-rw-r--r--CyteKit/CyteWebViewController.h10
-rw-r--r--CyteKit/CyteWebViewController.mm6
2 files changed, 8 insertions, 8 deletions
diff --git a/CyteKit/CyteWebViewController.h b/CyteKit/CyteWebViewController.h
index 30b551a..5b91747 100644
--- a/CyteKit/CyteWebViewController.h
+++ b/CyteKit/CyteWebViewController.h
@@ -37,8 +37,8 @@
*/
/* }}} */
-#ifndef CyteKit_CydiaBrowserController_H
-#define CyteKit_CydiaBrowserController_H
+#ifndef CyteKit_CyteWebViewController_H
+#define CyteKit_CyteWebViewController_H
#include "CyteKit/CyteViewController.h"
#include "CyteKit/CyteWebView.h"
@@ -49,14 +49,14 @@
@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
> {
@@ -136,4 +136,4 @@
@end
-#endif//CyteKit_CydiaBrowserController_H
+#endif//CyteKit_CyteWebViewController_H
diff --git a/CyteKit/CyteWebViewController.mm b/CyteKit/CyteWebViewController.mm
index d1f610c..cd43c94 100644
--- a/CyteKit/CyteWebViewController.mm
+++ b/CyteKit/CyteWebViewController.mm
@@ -117,7 +117,7 @@ float CYScrollViewDecelerationRateNormal;
@end
/* }}} */
-@implementation BrowserController
+@implementation CyteWebViewController
#if ShowInternals
#include "CyteKit/UCInternal.h"
@@ -134,7 +134,7 @@ float CYScrollViewDecelerationRateNormal;
- (void) dealloc {
#if LogBrowser
- NSLog(@"[BrowserController dealloc]");
+ NSLog(@"[CyteWebViewController dealloc]");
#endif
[webview_ setDelegate:nil];
@@ -335,7 +335,7 @@ float CYScrollViewDecelerationRateNormal;
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;
}