From e41ad032fa35e33bd5fd960fe99f7c66686513db Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 4 May 2016 15:43:43 +0100 Subject: cleanup printer API usage of plotter headers --- amiga/print.c | 1 + desktop/print.c | 1 + desktop/printer.h | 11 ++++++----- gtk/print.c | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/amiga/print.c b/amiga/print.c index f3fd2115f..cb6a4b570 100644 --- a/amiga/print.c +++ b/amiga/print.c @@ -49,6 +49,7 @@ #include "utils/nsoption.h" #include "utils/messages.h" #include "utils/utils.h" +#include "desktop/plotters.h" #include "desktop/printer.h" #include "desktop/gui_layout.h" #include "desktop/mouse.h" diff --git a/desktop/print.c b/desktop/print.c index 55caf5105..711e907e2 100644 --- a/desktop/print.c +++ b/desktop/print.c @@ -35,6 +35,7 @@ #include "css/utils.h" #include "render/box.h" +#include "desktop/plotters.h" #include "desktop/print.h" #include "desktop/printer.h" diff --git a/desktop/printer.h b/desktop/printer.h index 7fda8bdb0..a683b3f86 100644 --- a/desktop/printer.h +++ b/desktop/printer.h @@ -16,18 +16,19 @@ * along with this program. If not, see . */ -/** \file +/** + * \file * Printer interface. * - * Interface to generic plotters, initialization, handling pages and - * cleaning up. + * Printer interface to generic plotters, initialization, handling + * pages and cleaning up. */ #ifndef NETSURF_DESKTOP_PRINTER_H #define NETSURF_DESKTOP_PRINTER_H -#include "desktop/plotters.h" -#include "desktop/print.h" +struct plotter_table; +struct print_settings; /** Printer interface */ struct printer{ diff --git a/gtk/print.c b/gtk/print.c index 44ef1757f..a6e639996 100644 --- a/gtk/print.c +++ b/gtk/print.c @@ -36,6 +36,7 @@ #include "content/content.h" #include "content/hlcache.h" #include "utils/nsoption.h" +#include "desktop/plotters.h" #include "desktop/print.h" #include "desktop/printer.h" -- cgit v1.2.3