![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Calendar Backend (libedata-cal) | ![]() |
---|---|---|---|---|
Top | Description |
#define E_DATA_CAL_FACTORY_ERROR enum EDataCalFactoryError; EDataCalFactory; void e_data_cal_factory_register_backend (EDataCalFactory *factory, ECalBackendFactory *backend_factory); void e_data_cal_factory_register_backends (EDataCalFactory *factory); gint e_data_cal_factory_get_n_backends (EDataCalFactory *factory); void e_data_cal_factory_dump_active_backends (EDataCalFactory *factory); void e_data_cal_factory_set_backend_mode (EDataCalFactory *factory, gint mode);
void e_data_cal_factory_register_backend (EDataCalFactory *factory, ECalBackendFactory *backend_factory);
Registers an ECalBackend subclass that will be used to handle URIs with a particular method. When the factory is asked to open a particular URI, it will look in its list of registered methods and create a backend of the appropriate type.
|
A calendar factory. |
|
The object responsible for creating backends. |
void e_data_cal_factory_register_backends (EDataCalFactory *factory);
Register all backends for the given factory.
|
gint e_data_cal_factory_get_n_backends (EDataCalFactory *factory);
Get the number of backends currently active in the given factory.
|
A calendar factory. |
Returns : |
the number of backends. |
void e_data_cal_factory_dump_active_backends (EDataCalFactory *factory);
Dumps to standard output a list of all active backends for the given factory.
|
A calendar factory. |
void e_data_cal_factory_set_backend_mode (EDataCalFactory *factory, gint mode);
Sets the online mode for all backends created by the given factory.
|
A calendar factory. |
|
Online mode to set. |