Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-print-job.h
diff options
context:
space:
mode:
authorMartin Kretzschmar <martink@src.gnome.org>2005-01-08 19:02:48 (GMT)
committer Martin Kretzschmar <martink@src.gnome.org>2005-01-08 19:02:48 (GMT)
commitfed5ac607fbe74668f1b74c2022ef56b5ee25d61 (patch)
tree44ffec47de08a712be1b049382ccad1562ae97d7 /shell/ev-print-job.h
parentfc6f0545ec11a89fe17428be5646b3563724aa40 (diff)
Added ev-print-job.c.
* POTFILES.in: Added ev-print-job.c. * shell/ev-print-job.c (ev_print_job_finalize) (ev_print_job_set_property, ev_print_job_get_property) (ev_print_job_set_gnome_print_job, ev_print_job_set_document) (ev_print_job_use_print_dialog_settings, idle_print_handler) (print_closure_finalize, ev_print_job_print): implement printing (for backends with EvPsExporter) * shell/ev-window.c (ev_window_print): unref print job after printing.
Diffstat (limited to 'shell/ev-print-job.h')
-rw-r--r--shell/ev-print-job.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/ev-print-job.h b/shell/ev-print-job.h
index 0b5dc2a..30a1430 100644
--- a/shell/ev-print-job.h
+++ b/shell/ev-print-job.h
@@ -25,6 +25,9 @@
#include <glib-object.h>
#include <gtk/gtk.h>
+#include <libgnomeprintui/gnome-print-dialog.h>
+
+#include "ev-document.h"
G_BEGIN_DECLS
@@ -35,8 +38,11 @@ typedef struct _EvPrintJobClass EvPrintJobClass;
#define EV_PRINT_JOB(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PRINT_JOB, EvPrintJob))
#define EV_IS_PRINT_JOB(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PRINT_JOB))
-GType ev_print_job_get_type (void);
-void ev_print_job_print (EvPrintJob *job, GtkWindow *parent);
+GType ev_print_job_get_type (void);
+void ev_print_job_set_gnome_print_job (EvPrintJob *job, GnomePrintJob *gpj);
+void ev_print_job_set_document (EvPrintJob *job, EvDocument *document);
+void ev_print_job_use_print_dialog_settings (EvPrintJob *job, GnomePrintDialog *dialog);
+void ev_print_job_print (EvPrintJob *job, GtkWindow *parent);
G_END_DECLS