| Top |
ECalBackendStore * e_cal_backend_store_new (const gchar *path,ETimezoneCache *cache);
Creates a new ECalBackendStore from path
and cache
.
Since: 3.8
const gchar *
e_cal_backend_store_get_path (ECalBackendStore *store);
Since: 2.28
ETimezoneCache *
e_cal_backend_store_ref_timezone_cache
(ECalBackendStore *store);
Returns the ETimezoneCache passed to e_cal_backend_store_new().
The returned ETimezoneCache is referenced for thread-safety and must
be unreferenced with g_object_unref() when finished with it.
Since: 3.8
gboolean
e_cal_backend_store_load (ECalBackendStore *store);
Since: 2.28
gboolean
e_cal_backend_store_clean (ECalBackendStore *store);
Since: 2.28
ECalComponent * e_cal_backend_store_get_component (ECalBackendStore *store,const gchar *uid,const gchar *rid);
Fetches a component by uid
and rid
store |
||
uid |
the uid of the component to fetch |
|
rid |
the recurrence id of the component to fetch |
Since: 2.28
gboolean e_cal_backend_store_put_component_with_time_range (ECalBackendStore *store,ECalComponent *comp,time_t occurence_start,time_t occurence_end);
store |
||
comp |
the ECalComonent to add |
|
occurence_start |
start time of this component |
|
occurence_end |
end time of this component |
Since: 2.32
gboolean e_cal_backend_store_put_component (ECalBackendStore *store,ECalComponent *comp);
Since: 2.28
gboolean e_cal_backend_store_remove_component (ECalBackendStore *store,const gchar *uid,const gchar *rid);
store |
||
uid |
the uid of the component to remove |
|
rid |
the recurrence id of the component to remove |
Since: 2.28
gboolean e_cal_backend_store_has_component (ECalBackendStore *store,const gchar *uid,const gchar *rid);
store |
||
uid |
the uid of the component to check |
|
rid |
the recurrence id of the component to check |
Since: 2.28
const icaltimezone *
e_cal_backend_store_get_default_timezone
(ECalBackendStore *store);
Fetch the default timezone
Since: 2.28
gboolean e_cal_backend_store_set_default_timezone (ECalBackendStore *store,icaltimezone *zone);
Since: 2.28
GSList * e_cal_backend_store_get_components_by_uid (ECalBackendStore *store,const gchar *uid);
Since: 2.28
gchar * e_cal_backend_store_get_components_by_uid_as_ical_string (ECalBackendStore *store,const gchar *uid);
Newly allocated ical string containing all
instances with given uid
. Free returned pointer with g_free(),
when no longer needed.
Since: 3.10
GSList *
e_cal_backend_store_get_components (ECalBackendStore *store);
Since: 2.28
GSList * e_cal_backend_store_get_components_occuring_in_range (ECalBackendStore *store,time_t start,time_t end);
Retrieves a list of components stored in the store, that are occuring in time range [start, end].
A list of the components. Each item in the list is an ECalComponent, which should be freed when no longer needed.
[transfer full]
Since: 2.32
GSList *
e_cal_backend_store_get_component_ids (ECalBackendStore *store);
Since: 2.28
const gchar * e_cal_backend_store_get_key_value (ECalBackendStore *store,const gchar *key);
Since: 2.28
gboolean e_cal_backend_store_put_key_value (ECalBackendStore *store,const gchar *key,const gchar *value);
Since: 2.28
void
e_cal_backend_store_thaw_changes (ECalBackendStore *store);
Since: 2.28
void
e_cal_backend_store_freeze_changes (ECalBackendStore *store);
Since: 2.28
void e_cal_backend_store_interval_tree_add_comp (ECalBackendStore *store,ECalComponent *comp,time_t occurence_start,time_t occurence_end);
store |
||
comp |
the ECalComponent to add |
|
occurence_start |
start time for |
|
occurence_end |
end time for |
Since: 2.32
struct ECalBackendStore;
Contains only private data that should be read and manipulated using the functions below.
Since: 2.28
struct ECalBackendStoreClass {
/* virtual methods */
gboolean (*load) (ECalBackendStore *store);
gboolean (*clean) (ECalBackendStore *store);
ECalComponent * (*get_component) (ECalBackendStore *store,
const gchar *uid,
const gchar *rid);
gboolean (*put_component) (ECalBackendStore *store,
ECalComponent *comp);
gboolean (*remove_component) (ECalBackendStore *store,
const gchar *uid,
const gchar *rid);
gboolean (*has_component) (ECalBackendStore *store,
const gchar *uid,
const gchar *rid);
GSList * (*get_components_by_uid)(ECalBackendStore *store,
const gchar *uid);
GSList * (*get_components) (ECalBackendStore *store);
GSList * (*get_component_ids) (ECalBackendStore *store);
const icaltimezone *
(*get_default_timezone) (ECalBackendStore *store);
gboolean (*set_default_timezone) (ECalBackendStore *store,
icaltimezone *zone);
void (*thaw_changes) (ECalBackendStore *store);
void (*freeze_changes) (ECalBackendStore *store);
const gchar * (*get_key_value) (ECalBackendStore *store,
const gchar *key);
gboolean (*put_key_value) (ECalBackendStore *store,
const gchar *key,
const gchar *value);
};
Class structure for the ECalBackendStore class.
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
||
FIXME: Doxument me |
Since: 2.28