|
| | | | | |
Developer’s API - 2 |
|
|
Protocol, cont. |
|
|
// when licensing is done, this will return YES, otherwise NO
- (BOOL)applicationReadyForInput;
// for jobs to show a preview from a thread
- (void) showImageFile:(NSString *)file width:(int)width height:(int)height isEPS:(BOOL)isEPS rotation:(int)rotation pageNumber:(int)pageNumber;
@end |
|
|
2. Call the Engine
This is sample calling code which checks to be sure PStill is launched, the licensing is finished and it's ready to go. If the conversion is successful, "0" is returned:
#import <AppKit/AppKit.h>
#import <Foundation/Foundation.h>
#import <stdio.h>
#import <mach/mach.h>
#import <servers/bootstrap.h>
#include <unistd.h>
#import "PStillVendedProtocol.h"
|
|
|