]> git.saurik.com Git - cydia.git/blob - UICaboodle/RVBook.mm
Export cydia.setNavigationBarTintColor() to JS.
[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 @implementation UCNavigationController
16
17 - (void) setHook:(id<HookProtocol>)hook {
18 hook_ = hook;
19 }
20
21 - (void) dismissModalViewControllerAnimated:(BOOL)animated {
22 [super dismissModalViewControllerAnimated:YES];
23
24 if (hook_ != nil)
25 [hook_ didDismissModalViewController];
26 }
27
28 @end