summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.mm
blob: e714de0e920b8aeca10466762b91aa2302a10b98 (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