![]() |
![]() |
![]() |
Evolution API Reference: libedata-cal, the Calendar Backend Library | ![]() |
---|---|---|---|---|
ECalBackendFactoryPrivate; icalcomponent_kind e_cal_backend_factory_get_kind (ECalBackendFactory *factory); const char* e_cal_backend_factory_get_protocol (ECalBackendFactory *factory); ECalBackend* e_cal_backend_factory_new_backend (ECalBackendFactory *factory, ESource *source);
icalcomponent_kind e_cal_backend_factory_get_kind (ECalBackendFactory *factory);
Gets the component type of the factory.
factory : | An ECalBackendFactory object. |
Returns : | The kind of factory. |
const char* e_cal_backend_factory_get_protocol (ECalBackendFactory *factory);
Gets the protocol used by the factory.
factory : | An ECalBackendFactory object. |
Returns : | The protocol. |
ECalBackend* e_cal_backend_factory_new_backend (ECalBackendFactory *factory, ESource *source);
Creates a new backend for the given source.
factory : | An ECalBackendFactory object. |
source : | An ESource. |
Returns : | The newly created backend, or NULL if there was an error. |