2 * gtkhtml-image-chooser-dialog.h
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU Lesser General Public
6 * License as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this program; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 * Boston, MA 02111-1307, USA.
19 #ifndef GTKHTML_IMAGE_CHOOSER_DIALOG_H
20 #define GTKHTML_IMAGE_CHOOSER_DIALOG_H
22 #include "gtkhtml-editor-common.h"
24 /* Standard GObject macros */
25 #define GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG \
26 (gtkhtml_image_chooser_dialog_get_type ())
27 #define GTKHTML_IMAGE_CHOOSER_DIALOG(obj) \
28 (G_TYPE_CHECK_INSTANCE_CAST \
29 ((obj), GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG, GtkhtmlImageChooserDialog))
30 #define GTKHTML_IMAGE_CHOOSER_DIALOG_CLASS(cls) \
31 (G_TYPE_CHECK_CLASS_CAST \
32 ((cls), GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG, GtkhtmlImageChooserDialogClass))
33 #define GTKHTML_IS_IMAGE_CHOOSER_DIALOG(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE \
35 ((obj), GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG))
36 #define GTKHTML_IS_IMAGE_CHOOSER_DIALOG_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_TYPE \
38 ((cls), GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG))
39 #define GTKHTML_IMAGE_CHOOSER_DIALOG_GET_CLASS(obj) \
40 (G_TYPE_INSTANCE_GET_CLASS \
41 ((obj), GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG, GtkhtmlImageChooserDialogClass))
45 typedef struct _GtkhtmlImageChooserDialog GtkhtmlImageChooserDialog
;
46 typedef struct _GtkhtmlImageChooserDialogClass GtkhtmlImageChooserDialogClass
;
47 typedef struct _GtkhtmlImageChooserDialogPrivate GtkhtmlImageChooserDialogPrivate
;
49 struct _GtkhtmlImageChooserDialog
{
50 GtkFileChooserDialog parent
;
51 GtkhtmlImageChooserDialogPrivate
*priv
;
54 struct _GtkhtmlImageChooserDialogClass
{
55 GtkFileChooserDialogClass parent_class
;
58 GType gtkhtml_image_chooser_dialog_get_type
60 GtkWidget
* gtkhtml_image_chooser_dialog_new
63 GFile
* gtkhtml_image_chooser_dialog_run
64 (GtkhtmlImageChooserDialog
*dialog
);
68 #endif /* GTKHTML_IMAGE_CHOOSER_DIALOG_H */