summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.mm
blob: 2271cee78f6806156c1b557a9f8d7a3146c8b95a (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
29
30
31
32
33
34
#import "RVBook.h"

#import <UIKit/UINavigationBar.h>
#import <UIKit/UINavigationItem.h>

#import <UIKit/UITransitionView.h>

#import <UIKit/UIView-Geometry.h>
#import <UIKit/UIView-Hierarchy.h>

#import <Foundation/Foundation.h>
#import <CoreGraphics/CGGeometry.h>

#include <cstdio>
#include <cstdlib>

#include <errno.h>

#import "RVPage.h"


@implementation UCNavigationController
- (void) setHook:(id)hook {
	hook_ = hook;
}
- (void) dismissModalViewControllerAnimated:(BOOL)animated {
	[super dismissModalViewControllerAnimated:YES];

	if (hook_ != nil)
	    [hook_ didDismissModalViewController];
}
@end