]> git.saurik.com Git - cydia.git/blob - UICaboodle/RVBook.mm
Fix the default custom button behaviour for commercial packages. My understanding...
[cydia.git] / UICaboodle / RVBook.mm
1 #import "RVBook.h"
2
3 #import <UIKit/UIKit.h>
4
5 #import <Foundation/Foundation.h>
6 #import <CoreGraphics/CGGeometry.h>
7
8 #include <cstdio>
9 #include <cstdlib>
10
11 #include <errno.h>
12
13 #import "RVPage.h"
14
15
16 @implementation UCNavigationController
17 - (void) setHook:(id)hook {
18 hook_ = hook;
19 }
20 - (void) dismissModalViewControllerAnimated:(BOOL)animated {
21 [super dismissModalViewControllerAnimated:YES];
22
23 if (hook_ != nil)
24 [hook_ didDismissModalViewController];
25 }
26 @end
27
28