| 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, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | #include <gtk/gtk.h>cxx . . $ `<file>/gtk/gtk.h`/ |
| 22 | #include "gtkunixprint.h"cxx . . $ `<file>/gtk/gtkunixprint.h`/ |
| 23 | #include "gtkprinteroptionsetprivate.h"cxx . . $ `<file>/gtk/print/gtkprinteroptionsetprivate.h`/ |
| 24 | |
| 25 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 26 | |
| 27 | #define GTK_PRINTER_CLASScxx . . $ `gtk/print/gtkprinterprivate.h:27:9`!(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINTER, GtkPrinterClass)) |
| 28 | #define GTK_IS_PRINTER_CLASScxx . . $ `gtk/print/gtkprinterprivate.h:28:9`!(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINTER)) |
| 29 | #define GTK_PRINTER_GET_CLASScxx . . $ `gtk/print/gtkprinterprivate.h:29:9`!(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINTER, GtkPrinterClass)) |
| 30 | |
| 31 | typedef struct _GtkPrinterClasscxx . . $ _GtkPrinterClass# GtkPrinterClasscxx . . $ GtkPrinterClass#; |
| 32 | typedef struct _GtkPrinterPrivatecxx . . $ _GtkPrinterPrivate# GtkPrinterPrivatecxx . . $ GtkPrinterPrivate#; |
| 33 | |
| 34 | struct _GtkPrintercxx . . $ _GtkPrinter# |
| 35 | { |
| 36 | GObjectcxx . . $ GObject# parent_instancecxx . . $ _GtkPrinter#parent_instance.; |
| 37 | }; |
| 38 | |
| 39 | struct _GtkPrinterClasscxx . . $ _GtkPrinterClass# |
| 40 | { |
| 41 | GObjectClasscxx . . $ GObjectClass# parent_classcxx . . $ _GtkPrinterClass#parent_class.; |
| 42 | |
| 43 | void (*details_acquiredcxx . . $ _GtkPrinterClass#details_acquired.) (GtkPrintercxx . . $ GtkPrinter# *printer, |
| 44 | gbooleancxx . . $ gboolean# success); |
| 45 | }; |
| 46 | |
| 47 | GtkPrinterOptionSetcxx . . $ GtkPrinterOptionSet# *_gtk_printer_get_optionscxx . . $ _gtk_printer_get_options(816f861ae02863e9). (GtkPrintercxx . . $ GtkPrinter# *printer, |
| 48 | GtkPrintSettingscxx . . $ GtkPrintSettings# *settings, |
| 49 | GtkPageSetupcxx . . $ GtkPageSetup# *page_setup, |
| 50 | GtkPrintCapabilitiescxx . . $ GtkPrintCapabilities# capabilities); |
| 51 | gbooleancxx . . $ gboolean# _gtk_printer_mark_conflictscxx . . $ _gtk_printer_mark_conflicts(84aa3436aa8e8553). (GtkPrintercxx . . $ GtkPrinter# *printer, |
| 52 | GtkPrinterOptionSetcxx . . $ GtkPrinterOptionSet# *options); |
| 53 | void _gtk_printer_get_settings_from_optionscxx . . $ _gtk_printer_get_settings_from_options(b4d97ae7aeb1fe6d). (GtkPrintercxx . . $ GtkPrinter# *printer, |
| 54 | GtkPrinterOptionSetcxx . . $ GtkPrinterOptionSet# *options, |
| 55 | GtkPrintSettingscxx . . $ GtkPrintSettings# *settings); |
| 56 | void _gtk_printer_prepare_for_printcxx . . $ _gtk_printer_prepare_for_print(fdd0a765eed97885). (GtkPrintercxx . . $ GtkPrinter# *printer, |
| 57 | GtkPrintJobcxx . . $ GtkPrintJob# *print_job, |
| 58 | GtkPrintSettingscxx . . $ GtkPrintSettings# *settings, |
| 59 | GtkPageSetupcxx . . $ GtkPageSetup# *page_setup); |
| 60 | cairo_surface_tcxx . . $ cairo_surface_t# * _gtk_printer_create_cairo_surfacecxx . . $ _gtk_printer_create_cairo_surface(aa74a31c0d39213). (GtkPrintercxx . . $ GtkPrinter# *printer, |
| 61 | GtkPrintSettingscxx . . $ GtkPrintSettings# *settings, |
| 62 | double width, |
| 63 | double height, |
| 64 | GIOChannelcxx . . $ GIOChannel# *cache_io); |
| 65 | GHashTablecxx . . $ GHashTable# * _gtk_printer_get_custom_widgetscxx . . $ _gtk_printer_get_custom_widgets(e1bc030a2f16357d). (GtkPrintercxx . . $ GtkPrinter# *printer); |
| 66 | |
| 67 | /* GtkPrintJob private methods: */ |
| 68 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 69 | void gtk_print_job_set_statuscxx . . $ gtk_print_job_set_status(a6725299cd8e3c1b). (GtkPrintJobcxx . . $ GtkPrintJob# *job, |
| 70 | GtkPrintStatuscxx . . $ GtkPrintStatus# status); |
| 71 | |
| 72 | GtkPrintercxx . . $ GtkPrinter# * gtk_printer_findcxx . . $ gtk_printer_find(1978a2674fce5047). (const char *name); |
| 73 | |
| 74 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |