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_SOURCE_ALARMS_H
20 #define E_SOURCE_ALARMS_H
22 #include <libedataserver/e-source-extension.h>
24 /* Standard GObject macros */
25 #define E_TYPE_SOURCE_ALARMS \
26 (e_source_alarms_get_type ())
27 #define E_SOURCE_ALARMS(obj) \
28 (G_TYPE_CHECK_INSTANCE_CAST \
29 ((obj), E_TYPE_SOURCE_ALARMS, ESourceAlarms))
30 #define E_SOURCE_ALARMS_CLASS(cls) \
31 (G_TYPE_CHECK_CLASS_CAST \
32 ((cls), E_TYPE_SOURCE_ALARMS, ESourceAlarmsClass))
33 #define E_IS_SOURCE_ALARMS(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE \
35 ((obj), E_TYPE_SOURCE_ALARMS))
36 #define E_IS_SOURCE_ALARMS_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_TYPE \
38 ((cls), E_TYPE_SOURCE_ALARMS))
39 #define E_SOURCE_ALARMS_GET_CLASS(obj) \
40 (G_TYPE_INSTANCE_GET_CLASS \
41 ((obj), E_TYPE_SOURCE_ALARMS, ESourceAlarmsClass))
44 * E_SOURCE_EXTENSION_ALARMS:
46 * Pass this extension name to e_source_get_extension() to access
47 * #ESourceAlarms. This is also used as a group name in key files.
51 #define E_SOURCE_EXTENSION_ALARMS "Alarms"
55 typedef struct _ESourceAlarms ESourceAlarms;
56 typedef struct _ESourceAlarmsClass ESourceAlarmsClass;
57 typedef struct _ESourceAlarmsPrivate ESourceAlarmsPrivate;
62 * Contains only private data that should be read and manipulated using the
67 struct _ESourceAlarms {
68 ESourceExtension parent;
69 ESourceAlarmsPrivate *priv;
72 struct _ESourceAlarmsClass {
73 ESourceExtensionClass parent_class;
76 GType e_source_alarms_get_type (void) G_GNUC_CONST;
77 gboolean e_source_alarms_get_include_me (ESourceAlarms *extension);
78 void e_source_alarms_set_include_me (ESourceAlarms *extension,
80 const gchar * e_source_alarms_get_last_notified
81 (ESourceAlarms *extension);
82 gchar * e_source_alarms_dup_last_notified
83 (ESourceAlarms *extension);
84 void e_source_alarms_set_last_notified
85 (ESourceAlarms *extension,
86 const gchar *last_notified);
90 #endif /* E_SOURCE_ALARMS_H */