Source

CocoaPDF / TronPDFView.h

Full commit
//
//  TronPDFView.h
//  cocoapdf
//
//  Created by Quincy on 10-07-25.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MyPDFDoc.h"

#include <PDF/PDFView.h>

@interface TronPDFView : NSView {
    pdftron::PDF::PDFView * _tronPDFView;
}

@property (nonatomic) pdftron::PDF::PDFView * tronPDFView;

- (pdftron::PDF::PDFView *) getPDFView;

- (void)setDocument:(MyPDFDoc*) myDoc;

- (void)windowResized:(NSNotification *)notification;


@end

void beginRendering(void* data);

void endRendering(void* data, bool canceled);