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