]>
Commit | Line | Data |
---|---|---|
77f175ac JF |
1 | #import "RVBook.h" |
2 | ||
3 | #import <UIKit/UINavigationBar.h> | |
4 | #import <UIKit/UINavigationItem.h> | |
5 | ||
6 | #import <UIKit/UITransitionView.h> | |
7 | ||
8 | #import <UIKit/UIView-Geometry.h> | |
9 | #import <UIKit/UIView-Hierarchy.h> | |
10 | ||
d210b85d JF |
11 | #import <Foundation/Foundation.h> |
12 | #import <CoreGraphics/CGGeometry.h> | |
13 | ||
14 | #include <cstdio> | |
15 | #include <cstdlib> | |
16 | ||
17 | #include <errno.h> | |
18 | ||
77f175ac JF |
19 | #import "RVPage.h" |
20 | ||
77f175ac | 21 | |
9ae52960 | 22 | @implementation UCNavigationController |
1ce016d4 | 23 | - (void) setHook:(id)hook { |
9ae52960 | 24 | hook_ = hook; |
5889429e | 25 | } |
9ae52960 GP |
26 | - (void) dismissModalViewControllerAnimated:(BOOL)animated { |
27 | [super dismissModalViewControllerAnimated:YES]; | |
5889429e | 28 | |
9ae52960 GP |
29 | if (hook_ != nil) |
30 | [hook_ didDismissModalViewController]; | |
77f175ac | 31 | } |
04700693 JF |
32 | @end |
33 | ||
04700693 | 34 |