1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* mail-offline-handler.h |
---|
3 | * |
---|
4 | * Copyright (C) 2001 Ximian, Inc. |
---|
5 | * |
---|
6 | * This program is free software; you can redistribute it and/or |
---|
7 | * modify it under the terms of version 2 of the GNU General Public |
---|
8 | * License as published by the Free Software Foundation. |
---|
9 | * |
---|
10 | * This program is distributed in the hope that it will be useful, |
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | * General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU General Public |
---|
16 | * License along with this program; if not, write to the |
---|
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
18 | * Boston, MA 02111-1307, USA. |
---|
19 | * |
---|
20 | * Author: Ettore Perazzoli <ettore@ximian.com> |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef _MAIL_OFFLINE_HANDLER_H_ |
---|
24 | #define _MAIL_OFFLINE_HANDLER_H_ |
---|
25 | |
---|
26 | #ifdef HAVE_CONFIG_H |
---|
27 | #include <config.h> |
---|
28 | #endif |
---|
29 | |
---|
30 | #include <bonobo/bonobo-xobject.h> |
---|
31 | #include "Evolution.h" |
---|
32 | |
---|
33 | #ifdef __cplusplus |
---|
34 | extern "C" { |
---|
35 | #pragma } |
---|
36 | #endif /* __cplusplus */ |
---|
37 | |
---|
38 | #define MAIL_TYPE_OFFLINE_HANDLER (mail_offline_handler_get_type ()) |
---|
39 | #define MAIL_OFFLINE_HANDLER(obj) (GTK_CHECK_CAST ((obj), MAIL_TYPE_OFFLINE_HANDLER, MailOfflineHandler)) |
---|
40 | #define MAIL_OFFLINE_HANDLER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), MAIL_TYPE_OFFLINE_HANDLER, MailOfflineHandlerClass)) |
---|
41 | #define MAIL_IS_OFFLINE_HANDLER(obj) (GTK_CHECK_TYPE ((obj), MAIL_TYPE_OFFLINE_HANDLER)) |
---|
42 | #define MAIL_IS_OFFLINE_HANDLER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), MAIL_TYPE_OFFLINE_HANDLER)) |
---|
43 | |
---|
44 | |
---|
45 | typedef struct _MailOfflineHandler MailOfflineHandler; |
---|
46 | typedef struct _MailOfflineHandlerPrivate MailOfflineHandlerPrivate; |
---|
47 | typedef struct _MailOfflineHandlerClass MailOfflineHandlerClass; |
---|
48 | |
---|
49 | struct _MailOfflineHandler { |
---|
50 | BonoboXObject parent; |
---|
51 | |
---|
52 | MailOfflineHandlerPrivate *priv; |
---|
53 | }; |
---|
54 | |
---|
55 | struct _MailOfflineHandlerClass { |
---|
56 | BonoboXObjectClass parent_class; |
---|
57 | |
---|
58 | POA_GNOME_Evolution_Offline__epv epv; |
---|
59 | }; |
---|
60 | |
---|
61 | |
---|
62 | GtkType mail_offline_handler_get_type (void); |
---|
63 | MailOfflineHandler *mail_offline_handler_new (void); |
---|
64 | |
---|
65 | #ifdef __cplusplus |
---|
66 | } |
---|
67 | #endif /* __cplusplus */ |
---|
68 | |
---|
69 | #endif /* _MAIL_OFFLINE_HANDLER_H_ */ |
---|