Updated Spanish translation
[evolution.git] / e-util / e-html-editor-image-dialog.h
blobefdbaf963c15db085c909453af84a75149b2242c
1 /*
2 * e-html-editor-image-dialog.h
4 * Copyright (C) 2012 Dan Vrátil <dvratil@redhat.com>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) version 3.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with the program; if not, see <http://www.gnu.org/licenses/>
21 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
22 #error "Only <e-util/e-util.h> should be included directly."
23 #endif
25 #ifndef E_HTML_EDITOR_IMAGE_DIALOG_H
26 #define E_HTML_EDITOR_IMAGE_DIALOG_H
28 #include <e-util/e-html-editor-dialog.h>
30 /* Standard GObject macros */
31 #define E_TYPE_HTML_EDITOR_IMAGE_DIALOG \
32 (e_html_editor_image_dialog_get_type ())
33 #define E_HTML_EDITOR_IMAGE_DIALOG(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST \
35 ((obj), E_TYPE_HTML_EDITOR_IMAGE_DIALOG, EHTMLEditorImageDialog))
36 #define E_HTML_EDITOR_IMAGE_DIALOG_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_CAST \
38 ((cls), E_TYPE_HTML_EDITOR_IMAGE_DIALOG, EHTMLEditorImageDialogClass))
39 #define E_IS_HTML_EDITOR_IMAGE_DIALOG(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE \
41 ((obj), E_TYPE_HTML_EDITOR_IMAGE_DIALOG))
42 #define E_IS_HTML_EDITOR_IMAGE_DIALOG_CLASS(cls) \
43 (G_TYPE_CHECK_CLASS_TYPE \
44 ((cls), E_TYPE_HTML_EDITOR_IMAGE_DIALOG))
45 #define E_HTML_EDITOR_IMAGE_DIALOG_GET_CLASS(obj) \
46 (G_TYPE_INSTANCE_GET_CLASS \
47 ((obj), E_TYPE_HTML_EDITOR_IMAGE_DIALOG, EHTMLEditorImageDialogClass))
49 G_BEGIN_DECLS
51 typedef struct _EHTMLEditorImageDialog EHTMLEditorImageDialog;
52 typedef struct _EHTMLEditorImageDialogClass EHTMLEditorImageDialogClass;
53 typedef struct _EHTMLEditorImageDialogPrivate EHTMLEditorImageDialogPrivate;
55 struct _EHTMLEditorImageDialog {
56 EHTMLEditorDialog parent;
57 EHTMLEditorImageDialogPrivate *priv;
60 struct _EHTMLEditorImageDialogClass {
61 EHTMLEditorDialogClass parent_class;
64 GType e_html_editor_image_dialog_get_type
65 (void) G_GNUC_CONST;
66 GtkWidget * e_html_editor_image_dialog_new (EHTMLEditor *editor);
67 void e_html_editor_image_dialog_show (EHTMLEditorImageDialog *dialog,
68 WebKitDOMNode *image);
70 G_END_DECLS
72 #endif /* E_HTML_EDITOR_IMAGE_DIALOG_H */