source: trunk/third/evolution/shell/e-local-storage.h @ 18142

Revision 18142, 2.2 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18141, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* e-local-storage.h
3 *
4 * Copyright (C) 2000, 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
21 */
22
23#ifndef _E_LOCAL_STORAGE_H_
24#define _E_LOCAL_STORAGE_H_
25
26#include "e-folder-type-registry.h"
27#include "e-storage.h"
28
29#ifdef __cplusplus
30extern "C" {
31#pragma }
32#endif /* __cplusplus */
33
34#define E_TYPE_LOCAL_STORAGE                    (e_local_storage_get_type ())
35#define E_LOCAL_STORAGE(obj)                    (GTK_CHECK_CAST ((obj), E_TYPE_LOCAL_STORAGE, ELocalStorage))
36#define E_LOCAL_STORAGE_CLASS(klass)            (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_LOCAL_STORAGE, ELocalStorageClass))
37#define E_IS_LOCAL_STORAGE(obj)                 (GTK_CHECK_TYPE ((obj), E_TYPE_LOCAL_STORAGE))
38#define E_IS_LOCAL_STORAGE_CLASS(klass)         (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_LOCAL_STORAGE))
39
40typedef struct _ELocalStorage        ELocalStorage;
41typedef struct _ELocalStoragePrivate ELocalStoragePrivate;
42typedef struct _ELocalStorageClass   ELocalStorageClass;
43
44struct _ELocalStorage {
45        EStorage parent;
46
47        ELocalStoragePrivate *priv;
48};
49
50struct _ELocalStorageClass {
51        EStorageClass parent_class;
52};
53
54
55GtkType                       e_local_storage_get_type             (void);
56
57EStorage                     *e_local_storage_open                 (EFolderTypeRegistry *folder_type_registry,
58                                                                    const char          *base_path);
59const char                   *e_local_storage_get_base_path        (ELocalStorage       *storage);
60
61const GNOME_Evolution_Storage e_local_storage_get_corba_interface  (ELocalStorage *storage);
62
63#ifdef __cplusplus
64}
65#endif /* __cplusplus */
66
67#endif /* __E_LOCAL_STORAGE_H__ */
Note: See TracBrowser for help on using the repository browser.