diff options
Diffstat (limited to 'pdf/pdf_printer.h')
-rw-r--r-- | pdf/pdf_printer.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pdf/pdf_printer.h b/pdf/pdf_printer.h new file mode 100644 index 000000000..a8d7d7466 --- /dev/null +++ b/pdf/pdf_printer.h @@ -0,0 +1,36 @@ +/* + * Copyright 2008 Adam Blokus <adamblokus@gmail.com> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +/** \file + * PDF Plotter and flow manipulating functions combined as a printer +*/ + +#ifndef NETSURF_PDF_PRINTER_H +#define NETSURF_PDF_PRINTER_H + +#include "desktop/printer.h" +#include "pdf/pdf_plotters.h" + +struct printer pdf_printer= { + &pdf_plotters, + pdf_begin, + pdf_next_page, + pdf_end +}; + +#endif |