summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.h
diff options
context:
space:
mode:
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