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, see <http://www.gnu.org/licenses/>.
19 #ifndef __GTK_PRINTER_PRIVATE_H__
20 #define __GTK_PRINTER_PRIVATE_H__
23 #include <gtk/gtkunixprint.h>
24 #include "gtkprinteroptionset.h"
28 GtkPrinterOptionSet *_gtk_printer_get_options (GtkPrinter *printer,
29 GtkPrintSettings *settings,
30 GtkPageSetup *page_setup,
31 GtkPrintCapabilities capabilities);
32 gboolean _gtk_printer_mark_conflicts (GtkPrinter *printer,
33 GtkPrinterOptionSet *options);
34 void _gtk_printer_get_settings_from_options (GtkPrinter *printer,
35 GtkPrinterOptionSet *options,
36 GtkPrintSettings *settings);
37 void _gtk_printer_prepare_for_print (GtkPrinter *printer,
38 GtkPrintJob *print_job,
39 GtkPrintSettings *settings,
40 GtkPageSetup *page_setup);
41 cairo_surface_t * _gtk_printer_create_cairo_surface (GtkPrinter *printer,
42 GtkPrintSettings *settings,
45 GIOChannel *cache_io);
46 GHashTable * _gtk_printer_get_custom_widgets (GtkPrinter *printer);
48 /* GtkPrintJob private methods: */
49 void gtk_print_job_set_status (GtkPrintJob *job,
50 GtkPrintStatus status);
53 #endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */