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 <gtk/gtkunixprint.h>
26 #include "gtkprinteroptionset.h"
30 GtkPrinterOptionSet *_gtk_printer_get_options (GtkPrinter *printer,
31 GtkPrintSettings *settings,
32 GtkPageSetup *page_setup,
33 GtkPrintCapabilities capabilities);
34 gboolean _gtk_printer_mark_conflicts (GtkPrinter *printer,
35 GtkPrinterOptionSet *options);
36 void _gtk_printer_get_settings_from_options (GtkPrinter *printer,
37 GtkPrinterOptionSet *options,
38 GtkPrintSettings *settings);
39 void _gtk_printer_prepare_for_print (GtkPrinter *printer,
40 GtkPrintJob *print_job,
41 GtkPrintSettings *settings,
42 GtkPageSetup *page_setup);
43 cairo_surface_t * _gtk_printer_create_cairo_surface (GtkPrinter *printer,
44 GtkPrintSettings *settings,
47 GIOChannel *cache_io);
48 GHashTable * _gtk_printer_get_custom_widgets (GtkPrinter *printer);
50 /* GtkPrintJob private methods: */
51 void gtk_print_job_set_status (GtkPrintJob *job,
52 GtkPrintStatus status);
55 #endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */