]> Pileus Git - ~andy/gtk/blob - gtk/gtkprinter-private.h
a5786d0162f3055024890e388fdb0cf40e4251db
[~andy/gtk] / gtk / gtkprinter-private.h
1 /* GTK - The GIMP Toolkit
2  * gtkprintoperation.h: Print Operation
3  * Copyright (C) 2006, Red Hat, Inc.
4  *
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.
9  *
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.
14  *
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.
19  */
20
21 #ifndef __GTK_PRINTER_PRIVATE_H__
22 #define __GTK_PRINTER_PRIVATE_H__
23
24 #include <gtk/gtk.h>
25 #include <gtk/gtkunixprint.h>
26 #include "gtkprinteroptionset.h"
27
28 G_BEGIN_DECLS
29
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,
45                                                              gdouble              width,
46                                                              gdouble              height,
47                                                              GIOChannel          *cache_io);
48 GHashTable *         _gtk_printer_get_custom_widgets        (GtkPrinter          *printer);
49
50 /* GtkPrintJob private methods: */
51 void gtk_print_job_set_status (GtkPrintJob   *job,
52                                GtkPrintStatus status);
53
54 G_END_DECLS
55 #endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */