summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-06 19:27:29 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-06 19:27:29 -0700
commit9b623dac3e39ca96e0326a7e93d9684b224c1fa1 (patch)
tree0cb2a5848b0173f705c9e15c9f0cc3763d3c9f6f /UICaboodle
parent9373b14a9943e2bf10ac68d1314bdb2d0ae8ee43 (diff)
Merge CYViewController into UCViewController.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.h4
-rw-r--r--UICaboodle/BrowserView.mm8
-rw-r--r--UICaboodle/RVPage.h2
-rw-r--r--UICaboodle/RVPage.mm2
4 files changed, 8 insertions, 8 deletions
diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h
index 23be631..3f759ca 100644
--- a/UICaboodle/BrowserView.h
+++ b/UICaboodle/BrowserView.h
@@ -27,10 +27,10 @@
@end
@protocol BrowserControllerDelegate
-- (UCViewController *) pageForURL:(NSURL *)url hasTag:(int *)tag;
+- (CYViewController *) pageForURL:(NSURL *)url hasTag:(int *)tag;
@end
-@interface BrowserController : UCViewController <
+@interface BrowserController : CYViewController <
HookProtocol
> {
UIScroller *scroller_;
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index 50c31e4..793678e 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -413,7 +413,7 @@ static Class $UIWebBrowserView;
[self view:sender didSetFrame:frame];
}
-- (void) pushPage:(UCViewController *)page {
+- (void) pushPage:(CYViewController *)page {
[page setDelegate:delegate_];
[[self navigationItem] setTitle:title_];
[[self navigationController] pushViewController:page animated:YES];
@@ -427,7 +427,7 @@ static Class $UIWebBrowserView;
[[self navigationController] pushViewController:self animated:YES];
}
-- (void) swapPage:(UCViewController *)page {
+- (void) swapPage:(CYViewController *)page {
[page setDelegate:delegate_];
if (pushed_) [[self navigationController] popViewControllerAnimated:NO];
@@ -439,7 +439,7 @@ static Class $UIWebBrowserView;
NSLog(@"getSpecial:%@", url);
#endif
- if (UCViewController *page = [delegate_ pageForURL:url hasTag:NULL]) {
+ if (CYViewController *page = [delegate_ pageForURL:url hasTag:NULL]) {
if (swap)
[self swapPage:page];
else
@@ -662,7 +662,7 @@ static Class $UIWebBrowserView;
UCNavigationController *navigation([[[UCNavigationController alloc] init] autorelease]);
[navigation setHook:indirect_];
- UCViewController *page([delegate_ pageForURL:url hasTag:NULL]);
+ CYViewController *page([delegate_ pageForURL:url hasTag:NULL]);
if (page == nil) {
/* XXX: call createWebViewWithRequest instead? */
diff --git a/UICaboodle/RVPage.h b/UICaboodle/RVPage.h
index 3f16bc1..1f39428 100644
--- a/UICaboodle/RVPage.h
+++ b/UICaboodle/RVPage.h
@@ -2,7 +2,7 @@
#import <UIKit/UIKit.h>
-@interface UCViewController : UIViewController {
+@interface CYViewController : UIViewController {
id delegate_;
}
- (void)setDelegate:(id)delegate;
diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm
index b225333..8c702d3 100644
--- a/UICaboodle/RVPage.mm
+++ b/UICaboodle/RVPage.mm
@@ -5,7 +5,7 @@
#import "RVBook.h"
-@implementation UCViewController
+@implementation CYViewController
- (void)setDelegate:(id)delegate {
delegate_ = delegate;
}