summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-12-28 05:00:26 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:22 +0000
commitaa5d0de7a71977eaf42728cfe4ab8ae31d1133a9 (patch)
tree5bc7f53cc3ee436e178ff0490d13ab0729e05e52 /UICaboodle/RVBook.h
parent7594e0d2038278ab851fbb19521586a4a6fe6b97 (diff)
Doing another beta release.
Diffstat (limited to 'UICaboodle/RVBook.h')
-rw-r--r--UICaboodle/RVBook.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h
index 88a5191..a7781e7 100644
--- a/UICaboodle/RVBook.h
+++ b/UICaboodle/RVBook.h
@@ -1,12 +1,18 @@
#import "UICaboodle.h"
-#import <UIKit/UIView.h>
+#import <UIKit/UIKit.h>
@class NSMutableArray;
+@class RVBook;
@class RVPage;
@class UINavigationBar;
@class UITransitionView;
+@interface UIView (PopUpView)
+- (void) popFromSuperviewAnimated:(BOOL)animated;
+- (void) popSubview:(UIView *)view;
+@end
+
@protocol RVNavigationBarDelegate
@end
@@ -14,6 +20,8 @@
- (void) setPageActive:(BOOL)active with:(id)object;
- (void) resetViewAnimated:(BOOL)animated with:(id)object;
- (void) reloadDataWith:(id)object;
+- (void) popUpBook:(RVBook *)book;
+- (CGRect) popUpBounds;
@end
@interface RVBook : UIView <
@@ -24,6 +32,7 @@
UITransitionView *transition_;
BOOL resetting_;
_transient id delegate_;
+ UIToolbar *toolbar_;
}
- (UINavigationBar *) navigationBar;
@@ -36,6 +45,8 @@
- (void) pushPage:(RVPage *)page;
- (void) popPages:(unsigned)pages;
+- (void) pushBook:(RVBook *)book;
+
- (void) resetViewAnimated:(BOOL)animated;
- (void) resetViewAnimated:(BOOL)animated toPage:(RVPage *)page;
@@ -47,5 +58,13 @@
- (void) reloadData;
- (CGRect) pageBounds;
+- (void) close;
+
+@end
+
+@interface RVPopUpBook : RVBook {
+ _transient RVBook *parent_;
+ bool cancel_;
+}
@end