]> git.saurik.com Git - cydia.git/blame - UICaboodle/RVBook.mm
Export cydia.setNavigationBarTintColor() to JS.
[cydia.git] / UICaboodle / RVBook.mm
CommitLineData
7e9a36b6
JF
1#import "RVBook.h"
2
c21004b9 3#import <UIKit/UIKit.h>
7e9a36b6 4
a9543575
JF
5#import <Foundation/Foundation.h>
6#import <CoreGraphics/CGGeometry.h>
7
8#include <cstdio>
9#include <cstdlib>
10
11#include <errno.h>
12
7e9a36b6
JF
13#import "RVPage.h"
14
b5e7eebb 15@implementation UCNavigationController
6840bff3 16
96f3833b 17- (void) setHook:(id<HookProtocol>)hook {
bc11cf5b 18 hook_ = hook;
2f3ef0b1 19}
6840bff3 20
b5e7eebb 21- (void) dismissModalViewControllerAnimated:(BOOL)animated {
bc11cf5b 22 [super dismissModalViewControllerAnimated:YES];
2f3ef0b1 23
bc11cf5b
JF
24 if (hook_ != nil)
25 [hook_ didDismissModalViewController];
7e9a36b6 26}
aa5d0de7 27
6840bff3 28@end