Updated Indonesian translation
[evolution.git] / mail / e-mail-junk-options.h
blob7e9108e7b7c795cbd04038df4b1a8db68da0bcec
1 /*
2 * e-mail-junk-options.h
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
9 * This program is distributed in the hope that 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 GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
19 #ifndef E_MAIL_JUNK_OPTIONS_H
20 #define E_MAIL_JUNK_OPTIONS_H
22 #include <gtk/gtk.h>
23 #include <libemail-engine/e-mail-session.h>
25 /* Standard GObject macros */
26 #define E_TYPE_MAIL_JUNK_OPTIONS \
27 (e_mail_junk_options_get_type ())
28 #define E_MAIL_JUNK_OPTIONS(obj) \
29 (G_TYPE_CHECK_INSTANCE_CAST \
30 ((obj), E_TYPE_MAIL_JUNK_OPTIONS, EMailJunkOptions))
31 #define E_MAIL_JUNK_OPTIONS_CLASS(cls) \
32 (G_TYPE_CHECK_CLASS_CAST \
33 ((cls), E_TYPE_MAIL_JUNK_OPTIONS, EMailJunkOptionsClass))
34 #define E_IS_MAIL_JUNK_OPTIONS(obj) \
35 (G_TYPE_CHECK_INSTANCE_TYPE \
36 ((obj), E_TYPE_MAIL_JUNK_OPTIONS))
37 #define E_IS_MAIL_JUNK_OPTIONS_CLASS(cls) \
38 (G_TYPE_CHECK_CLASS_TYPE \
39 ((cls), E_TYPE_MAIL_JUNK_OPTIONS))
40 #define E_MAIL_JUNK_OPTIONS_GET_CLASS(obj) \
41 (G_TYPE_INSTANCE_GET_CLASS \
42 ((obj), E_TYPE_MAIL_JUNK_OPTIONS, EMailJunkOptionsClass))
44 G_BEGIN_DECLS
46 typedef struct _EMailJunkOptions EMailJunkOptions;
47 typedef struct _EMailJunkOptionsClass EMailJunkOptionsClass;
48 typedef struct _EMailJunkOptionsPrivate EMailJunkOptionsPrivate;
50 struct _EMailJunkOptions {
51 GtkGrid parent;
52 EMailJunkOptionsPrivate *priv;
55 struct _EMailJunkOptionsClass {
56 GtkGridClass parent_class;
59 GType e_mail_junk_options_get_type (void);
60 GtkWidget * e_mail_junk_options_new (EMailSession *session);
61 EMailSession * e_mail_junk_options_get_session (EMailJunkOptions *options);
62 void e_mail_junk_options_set_session (EMailJunkOptions *options,
63 EMailSession *session);
65 G_END_DECLS
67 #endif /* E_MAIL_JUNK_OPTIONS_H */