node-pdfutils
PdfSaveWorker.h
1 /*
2  * PdfSaveWorker.h
3  * Copyright (C) 2014 tox <tox@rootkit>
4  *
5  * Distributed under terms of the MIT license.
6  */
7 
8 #ifndef PDFSAVEWORKER_H
9 #define PDFSAVEWORKER_H
10 
11 #include "PdfWorker.h"
12 
13 class PdfPageController;
14 class PdfSaveWorker : public PdfWorker<PdfPageController> {
15  friend class PdfPageController;
16 public:
17  PdfSaveWorker(PdfPageController *controller, NanCallback *callback)
18  : PdfWorker(controller, callback) {}
19 
20  void Execute();
21 
22  void HandleIntermediate(void *data);
23 
24  void HandleOKCallback ();
25 };
26 #endif /* !PDFEXPORTPAGEWORKER_H */
Class representation of a PDF-Page.
Definition: PdfPageController.h:23
Definition: PdfSaveWorker.h:14
Base class for defining background processes.
Definition: PdfWorker.h:21