diff options
Diffstat (limited to 'CyteKit')
-rw-r--r-- | CyteKit/CyteWebViewController.h | 10 | ||||
-rw-r--r-- | CyteKit/CyteWebViewController.mm | 6 |
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; } |