Updated Hungarian translation
[evolution.git] / e-util / e-attachment-dialog.h
blobea5dc1a84c6b20b5273508763efe5747a7c13f71
1 /*
2 * e-attachment-dialog.h
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
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_ATTACHMENT_DIALOG_H
26 #define E_ATTACHMENT_DIALOG_H
28 #include <gtk/gtk.h>
29 #include <e-util/e-attachment.h>
31 /* Standard GObject macros */
32 #define E_TYPE_ATTACHMENT_DIALOG \
33 (e_attachment_dialog_get_type ())
34 #define E_ATTACHMENT_DIALOG(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST \
36 ((obj), E_TYPE_ATTACHMENT_DIALOG, EAttachmentDialog))
37 #define E_ATTACHMENT_DIALOG_CLASS(cls) \
38 (G_TYPE_CHECK_CLASS_CAST \
39 ((cls), E_TYPE_ATTACHMENT_DIALOG, EAttachmentDialogClass))
40 #define E_IS_ATTACHMENT_DIALOG(obj) \
41 (G_TYPE_CHECK_INSTANCE_TYPE \
42 ((obj), E_TYPE_ATTACHMENT_DIALOG))
43 #define E_IS_ATTACHMENT_DIALOG_CLASS(cls) \
44 (G_TYPE_CHECK_CLASS_TYPE \
45 ((cls), E_TYPE_ATTACHMENT_DIALOG))
46 #define E_ATTACHMENT_DIALOG_GET_CLASS(obj) \
47 (G_TYPE_INSTANCE_GET_CLASS \
48 ((obj), E_TYPE_ATTACHMENT_DIALOG, EAttachmentDialogClass))
50 G_BEGIN_DECLS
52 typedef struct _EAttachmentDialog EAttachmentDialog;
53 typedef struct _EAttachmentDialogClass EAttachmentDialogClass;
54 typedef struct _EAttachmentDialogPrivate EAttachmentDialogPrivate;
56 struct _EAttachmentDialog {
57 GtkDialog parent;
58 EAttachmentDialogPrivate *priv;
61 struct _EAttachmentDialogClass {
62 GtkDialogClass parent_class;
65 GType e_attachment_dialog_get_type (void) G_GNUC_CONST;
66 GtkWidget * e_attachment_dialog_new (GtkWindow *parent,
67 EAttachment *attachment);
68 EAttachment * e_attachment_dialog_get_attachment
69 (EAttachmentDialog *dialog);
70 void e_attachment_dialog_set_attachment
71 (EAttachmentDialog *dialog,
72 EAttachment *attachment);
74 G_END_DECLS
76 #endif /* E_ATTACHMENT_DIALOG_H */