2013-08-10 15:50:42 +08:00
|
|
|
/**
|
2013-08-10 22:13:04 +08:00
|
|
|
* APPPrinter.h
|
2013-08-10 15:50:42 +08:00
|
|
|
* Cordova Printer Plugin
|
|
|
|
*
|
|
|
|
* Created by Sebastian Katzer (github.com/katzer) on 10/08/2013.
|
|
|
|
* Copyright 2013 Sebastian Katzer. All rights reserved.
|
|
|
|
* GPL v2 licensed
|
|
|
|
*/
|
2013-08-10 00:58:47 +08:00
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <Cordova/CDVPlugin.h>
|
|
|
|
|
|
|
|
|
2013-08-10 22:13:04 +08:00
|
|
|
@interface APPPrinter : CDVPlugin {
|
2013-08-10 15:50:42 +08:00
|
|
|
|
2013-08-10 00:58:47 +08:00
|
|
|
}
|
|
|
|
|
2013-08-10 15:50:42 +08:00
|
|
|
// Prints the content
|
|
|
|
- (void) print:(CDVInvokedUrlCommand*)command;
|
|
|
|
// Find out whether printing is supported on this platform
|
|
|
|
- (void) isServiceAvailable:(CDVInvokedUrlCommand*)command;
|
|
|
|
|
|
|
|
@end
|