1 /* this file is part of evince, a gnome document viewer
3 * Copyright (C) 2004 Martin Kretzschmar
6 * Martin Kretzschmar <martink@gnome.org>
8 * Evince is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * Evince is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
23 #ifndef EV_PRINT_JOB_H
24 #define EV_PRINT_JOB_H
26 #include <glib-object.h>
28 #include <libgnomeprintui/gnome-print-dialog.h>
30 #include "ev-document.h"
34 typedef struct _EvPrintJob EvPrintJob;
35 typedef struct _EvPrintJobClass EvPrintJobClass;
37 #define EV_TYPE_PRINT_JOB (ev_print_job_get_type())
38 #define EV_PRINT_JOB(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PRINT_JOB, EvPrintJob))
39 #define EV_IS_PRINT_JOB(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PRINT_JOB))
41 GType ev_print_job_get_type (void);
42 void ev_print_job_set_gnome_print_job (EvPrintJob *job, GnomePrintJob *gpj);
43 void ev_print_job_set_document (EvPrintJob *job, EvDocument *document);
44 void ev_print_job_use_print_dialog_settings (EvPrintJob *job, GnomePrintDialog *dialog);
45 void ev_print_job_print (EvPrintJob *job, GtkWindow *parent);
49 #endif /* !EV_PRINT_JOB_H */