root/trunk/libtinymail-tp/tny-tp-mail-notifier.h

Revision 2825 (checked in by pvanhoof, 1 year ago)
        • Changed the address of FSF in the copyright notes
Line 
1 #ifndef TNY_TP_MAIL_NOTIFIER_H
2 #define TNY_TP_MAIL_NOTIFIER_H
3
4 /* libtinymail - The Tiny Mail library
5  * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with self library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22 #include <tny-shared.h>
23 #include <tny-folder.h>
24
25 G_BEGIN_DECLS
26
27 #define TNY_TYPE_TP_MAIL_NOTIFIER             (tny_tp_mail_notifier_get_type ())
28 #define TNY_TP_MAIL_NOTIFIER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_TP_MAIL_NOTIFIER, TnyTpMailNotifier))
29 #define TNY_TP_MAIL_NOTIFIER_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_TP_MAIL_NOTIFIER, TnyTpMailNotifierClass))
30 #define TNY_IS_TP_MAIL_NOTIFIER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_TP_MAIL_NOTIFIER))
31 #define TNY_IS_TP_MAIL_NOTIFIER_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_TP_MAIL_NOTIFIER))
32 #define TNY_TP_MAIL_NOTIFIER_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_TP_MAIL_NOTIFIER, TnyTpMailNotifierClass))
33
34 typedef struct _TnyTpMailNotifier TnyTpMailNotifier;
35 typedef struct _TnyTpMailNotifierClass TnyTpMailNotifierClass;
36
37 struct _TnyTpMailNotifier
38 {
39         GObject parent;
40 };
41
42 struct _TnyTpMailNotifierClass
43 {
44         GObjectClass parent;
45 };
46
47 GType tny_tp_mail_notifier_get_type (void);
48 TnyTpMailNotifier* tny_tp_mail_notifier_new (TnyFolder *folder);
49
50 G_END_DECLS
51
52 #endif
Note: See TracBrowser for help on using the browser.