| | 18 | #include <epdfview.h> |
| | 19 | #include "DumbDocument.h" |
| | 20 | |
| | 21 | using namespace ePDFView; |
| | 22 | |
| | 23 | //////////////////////////////////////////////////////////////// |
| | 24 | // Interface Methods |
| | 25 | //////////////////////////////////////////////////////////////// |
| | 26 | |
| | 27 | DumbDocument::DumbDocument (): |
| | 28 | IDocument () |
| | 29 | { |
| | 30 | } |
| | 31 | |
| | 32 | DumbDocument::~DumbDocument () |
| | 33 | { |
| | 34 | } |
| | 35 | |
| | 36 | gboolean |
| | 37 | DumbDocument::isLoaded () |
| | 38 | { |
| | 39 | return false; |
| | 40 | } |
| | 41 | |
| | 42 | gboolean |
| | 43 | DumbDocument::loadFile (const gchar *filename, const gchar *password, |
| | 44 | GError **error) |
| | 45 | { |
| | 46 | return false; |
| | 47 | } |
| | 48 | |
| | 49 | void |
| | 50 | DumbDocument::getPageSize (gdouble *width, gdouble *height) |
| | 51 | { |
| | 52 | *width = 10; |
| | 53 | *height = 10; |
| | 54 | } |
| | 55 | |
| | 56 | DocumentPage * |
| | 57 | DumbDocument::renderPage () |
| | 58 | { |
| | 59 | return new DocumentPage (); |
| | 60 | } |