8 #ifndef PDFENGINEFACTORY_H
9 #define PDFENGINEFACTORY_H
14 #include <node_object_wrap.h>
15 #include "PdfEngine.h"
17 #define PDF_ENGINE(n, cls, ...) \
18 PdfEngine *n ## _newInstance() { \
21 void n ## _init__(v8::Handle<v8::Object> exports) { \
23 new PdfEngineFactory(exports, #n, n ## _newInstance, __VA_ARGS__); \
25 NODE_MODULE(n ## Engine, n ## _init__)
27 typedef PdfEngine *(*PdfEngineInit)(void);
41 const PdfEngineInit pdfInit,
Factory Class for PDF Engines.
Definition: PdfEngineFactory.h:35
Base Class for interaction with a PDF-Engine such as Poppler.
Definition: PdfEngine.h:38