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