1 /* GTK - The GIMP Toolkit
2 * gtkprintoperation.h: Print Operation
3 * Copyright (C) 2006, Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __GTK_PRINTER_PRIVATE_H__
22 #define __GTK_PRINTER_PRIVATE_H__
25 #include "gtkprinter.h"
26 #include "gtkprintoperation.h"
27 #include "gtkprinteroptionset.h"
28 #include "gtkpagesetup.h"
32 gboolean _gtk_printer_has_details (GtkPrinter *printer);
33 void _gtk_printer_request_details (GtkPrinter *printer);
34 GtkPrinterOptionSet *_gtk_printer_get_options (GtkPrinter *printer,
35 GtkPrintSettings *settings,
36 GtkPageSetup *page_setup);
37 gboolean _gtk_printer_mark_conflicts (GtkPrinter *printer,
38 GtkPrinterOptionSet *options);
39 void _gtk_printer_get_settings_from_options (GtkPrinter *printer,
40 GtkPrinterOptionSet *options,
41 GtkPrintSettings *settings);
42 void _gtk_printer_prepare_for_print (GtkPrinter *printer,
43 GtkPrintJob *print_job,
44 GtkPrintSettings *settings,
45 GtkPageSetup *page_setup);
46 cairo_surface_t * _gtk_printer_create_cairo_surface (GtkPrinter *printer,
50 GList * _gtk_printer_list_papers (GtkPrinter *printer);
51 void _gtk_printer_get_hard_margins (GtkPrinter *printer,
56 GHashTable * _gtk_printer_get_custom_widgets (GtkPrinter *printer);
59 /* GtkPrintJob private methods: */
60 void gtk_print_job_set_status (GtkPrintJob *job,
61 GtkPrintStatus status);
64 #endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */