1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* e-corba-storage-registry.h |
---|
3 | * |
---|
4 | * Copyright (C) 2000 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 |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef __E_CORBA_STORAGE_REGISTRY_H__ |
---|
24 | #define __E_CORBA_STORAGE_REGISTRY_H__ |
---|
25 | |
---|
26 | #include <bonobo/bonobo-object.h> |
---|
27 | |
---|
28 | #include "Evolution.h" |
---|
29 | #include "e-storage-set.h" |
---|
30 | |
---|
31 | #ifdef __cplusplus |
---|
32 | extern "C" { |
---|
33 | #pragma } |
---|
34 | #endif /* __cplusplus */ |
---|
35 | |
---|
36 | #define E_TYPE_CORBA_STORAGE_REGISTRY (e_corba_storage_registry_get_type ()) |
---|
37 | #define E_CORBA_STORAGE_REGISTRY(obj) (GTK_CHECK_CAST ((obj), E_TYPE_CORBA_STORAGE_REGISTRY, ECorbaStorageRegistry)) |
---|
38 | #define E_CORBA_STORAGE_REGISTRY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_CORBA_STORAGE_REGISTRY, ECorbaStorageRegistryClass)) |
---|
39 | #define E_IS_CORBA_STORAGE_REGISTRY(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_CORBA_STORAGE_REGISTRY)) |
---|
40 | #define E_IS_CORBA_STORAGE_REGISTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_CORBA_STORAGE_REGISTRY)) |
---|
41 | |
---|
42 | |
---|
43 | typedef struct _ECorbaStorageRegistry ECorbaStorageRegistry; |
---|
44 | typedef struct _ECorbaStorageRegistryPrivate ECorbaStorageRegistryPrivate; |
---|
45 | typedef struct _ECorbaStorageRegistryClass ECorbaStorageRegistryClass; |
---|
46 | |
---|
47 | struct _ECorbaStorageRegistry { |
---|
48 | BonoboObject parent; |
---|
49 | |
---|
50 | ECorbaStorageRegistryPrivate *priv; |
---|
51 | }; |
---|
52 | |
---|
53 | struct _ECorbaStorageRegistryClass { |
---|
54 | BonoboObjectClass parent_class; |
---|
55 | }; |
---|
56 | |
---|
57 | |
---|
58 | GtkType e_corba_storage_registry_get_type (void); |
---|
59 | void e_corba_storage_registry_construct (ECorbaStorageRegistry *corba_storage_registry, |
---|
60 | GNOME_Evolution_StorageRegistry corba_object, |
---|
61 | EStorageSet *storage_set); |
---|
62 | ECorbaStorageRegistry *e_corba_storage_registry_new (EStorageSet *storage_set); |
---|
63 | |
---|
64 | #ifdef __cplusplus |
---|
65 | } |
---|
66 | #endif /* __cplusplus */ |
---|
67 | |
---|
68 | #endif /* __E_CORBA_STORAGE_REGISTRY_H__ */ |
---|