root/branches/pigment-experiments/document.hh
| Revision 44, 377 bytes (checked in by mirko, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | #ifndef __PDFCUBE__DOCUMENT_HH__ |
| 2 | #define __PDFCUBE__DOCUMENT_HH__ |
| 3 | |
| 4 | #include <vector> |
| 5 | #include <glib.h> |
| 6 | #include <poppler.h> |
| 7 | #include <pgm/pgm.h> |
| 8 | |
| 9 | namespace PDFCube { |
| 10 | |
| 11 | class Page; |
| 12 | |
| 13 | class Document |
| 14 | { |
| 15 | public: |
| 16 | Document(PopplerDocument* doc); |
| 17 | Page* page(int); |
| 18 | int n_pages(); |
| 19 | protected: |
| 20 | PopplerDocument* doc_m; |
| 21 | std::vector<Page*> page_m; |
| 22 | }; |
| 23 | } |
| 24 | |
| 25 | #endif |
Note: See TracBrowser
for help on using the browser.

