Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / src / server-interface-check.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* server-interface-check.h
3  *
4  * Copyright (C) 2002  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 Lesser 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 Lesser General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  *
20  * Author: Ettore Perazzoli <ettore@ximian.com>
21  */
22
23 #ifndef _SERVER_INTERFACE_CHECK_H_
24 #define _SERVER_INTERFACE_CHECK_H_
25
26 #ifdef HAVE_CONFIG_H
27 #include <config.h>
28 #endif
29
30 #include <bonobo/bonobo-object.h>
31 #include "Evolution-DataServer.h"
32
33 G_BEGIN_DECLS
34
35 #define SERVER_TYPE_INTERFACE_CHECK             (server_interface_check_get_type ())
36 #define SERVER_INTERFACE_CHECK(obj)             (GTK_CHECK_CAST ((obj), SERVER_TYPE_INTERFACE_CHECK, ServerInterfaceCheck))
37 #define SERVER_INTERFACE_CHECK_CLASS(klass)     (GTK_CHECK_CLASS_CAST ((klass), SERVER_TYPE_INTERFACE_CHECK, ServerInterfaceCheckClass))
38 #define SERVER_IS_INTERFACE_CHECK(obj)          (GTK_CHECK_TYPE ((obj), SERVER_TYPE_INTERFACE_CHECK))
39 #define SERVER_IS_INTERFACE_CHECK_CLASS(klass)  (GTK_CHECK_CLASS_TYPE ((obj), SERVER_TYPE_INTERFACE_CHECK))
40
41 \f
42 typedef struct _ServerInterfaceCheck        ServerInterfaceCheck;
43 typedef struct _ServerInterfaceCheckPrivate ServerInterfaceCheckPrivate;
44 typedef struct _ServerInterfaceCheckClass   ServerInterfaceCheckClass;
45
46 struct _ServerInterfaceCheck {
47         BonoboObject parent;
48 };
49
50 struct _ServerInterfaceCheckClass {
51         BonoboObjectClass parent_class;
52
53         POA_GNOME_Evolution_DataServer_InterfaceCheck__epv epv;
54 };
55
56 \f
57 GType server_interface_check_get_type  (void);
58 ServerInterfaceCheck *server_interface_check_new (void);
59
60 G_END_DECLS
61
62 #endif /* _SERVER_INTERFACE_CHECK_H_ */