2
* Copyright © 2007, 2008 Christian Persch
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2, or (at your option)
9
* This program is distributed in the hope print_operation it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
#ifndef GUCHARMAP_PRINT_OPERATION_H
20
#define GUCHARMAP_PRINT_OPERATION_H
24
#include <gucharmap/gucharmap.h>
28
#define GUCHARMAP_TYPE_PRINT_OPERATION (gucharmap_print_operation_get_type ())
29
#define GUCHARMAP_PRINT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_PRINT_OPERATION, GucharmapPrintOperation))
30
#define GUCHARMAP_PRINT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_PRINT_OPERATION, GucharmapPrintOperationClass))
31
#define GUCHARMAP_IS_PRINT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_PRINT_OPERATION))
32
#define GUCHARMAP_IS_PRINT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_PRINT_OPERATION))
33
#define GUCHARMAP_PRINT_OPERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_PRINT_OPERATION, GucharmapPrintOperationClass))
35
typedef struct _GucharmapPrintOperation GucharmapPrintOperation;
36
typedef struct _GucharmapPrintOperationClass GucharmapPrintOperationClass;
37
typedef struct _GucharmapPrintOperationPrivate GucharmapPrintOperationPrivate;
39
struct _GucharmapPrintOperation
41
GtkPrintOperation parent_instance;
44
GucharmapPrintOperationPrivate *priv;
47
struct _GucharmapPrintOperationClass
49
GtkPrintOperationClass parent_class;
52
GType gucharmap_print_operation_get_type (void);
54
GtkPrintOperation * gucharmap_print_operation_new (GucharmapCodepointList *codepoint_list,
55
PangoFontDescription *font_desc);
59
#endif /* !GUCHARMAP_PRINT_OPERATION_H */