~ubuntu-branches/ubuntu/precise/evolution-data-server/precise

« back to all changes in this revision

Viewing changes to camel/providers/local/camel-local-store.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-07-14 15:00:38 UTC
  • Revision ID: james.westby@ubuntu.com-20110714150038-aha2wqajqp2i8s5v
Tags: 3.1.3.1-0ubuntu3
debian/patches/999git_EDS_3_1_3_1_to_f94a069.patch: apply changes from git
branch up to commit f94a069.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
typedef struct _CamelLocalStore CamelLocalStore;
50
50
typedef struct _CamelLocalStoreClass CamelLocalStoreClass;
 
51
typedef struct _CamelLocalStorePrivate CamelLocalStorePrivate;
51
52
 
52
53
struct _CamelLocalStore {
53
54
        CamelStore parent;
 
55
        CamelLocalStorePrivate *priv;
54
56
 
55
57
        gchar *toplevel_dir;
56
58
        gboolean is_main_store;
59
61
struct _CamelLocalStoreClass {
60
62
        CamelStoreClass parent_class;
61
63
 
62
 
        gchar *(*get_full_path)(CamelLocalStore *ls, const gchar *full_name);
63
 
        gchar *(*get_meta_path)(CamelLocalStore *ls, const gchar *full_name, const gchar *ext);
 
64
        gchar *         (*get_full_path)        (CamelLocalStore *ls,
 
65
                                                 const gchar *full_name);
 
66
        gchar *         (*get_meta_path)        (CamelLocalStore *ls,
 
67
                                                 const gchar *full_name,
 
68
                                                 const gchar *ext);
64
69
};
65
70
 
66
 
GType camel_local_store_get_type (void);
67
 
 
68
 
const gchar *camel_local_store_get_toplevel_dir (CamelLocalStore *store);
69
 
 
70
 
gboolean camel_local_store_is_main_store (CamelLocalStore *store);
71
 
guint32 camel_local_store_get_folder_type_by_full_name (CamelLocalStore *store, const gchar *full_name);
72
 
 
73
 
#define camel_local_store_get_full_path(ls, name) \
74
 
        (CAMEL_LOCAL_STORE_GET_CLASS (ls)->get_full_path \
75
 
        (CAMEL_LOCAL_STORE (ls), (name)))
76
 
#define camel_local_store_get_meta_path(ls, name, ext) \
77
 
        (CAMEL_LOCAL_STORE_GET_CLASS (ls)->get_meta_path \
78
 
        (CAMEL_LOCAL_STORE (ls), (name), (ext)))
 
71
GType           camel_local_store_get_type      (void);
 
72
const gchar *   camel_local_store_get_toplevel_dir
 
73
                                                (CamelLocalStore *store);
 
74
gboolean        camel_local_store_is_main_store (CamelLocalStore *store);
 
75
gchar *         camel_local_store_get_full_path (CamelLocalStore *store,
 
76
                                                 const gchar *full_name);
 
77
gchar *         camel_local_store_get_meta_path (CamelLocalStore *store,
 
78
                                                 const gchar *full_name,
 
79
                                                 const gchar *ext);
 
80
guint32         camel_local_store_get_folder_type_by_full_name
 
81
                                                (CamelLocalStore *store,
 
82
                                                 const gchar *full_name);
79
83
 
80
84
G_END_DECLS
81
85