## ECalBackendFactory

ECalBackendFactory — Factory for creating backends.

## Synopsis

                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);

## Description

## Details

### ECalBackendFactoryPrivate

    typedef struct _ECalBackendFactoryPrivate ECalBackendFactoryPrivate;

### e_cal_backend_factory_get_kind ()

    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.

### e_cal_backend_factory_get_protocol ()

    const char* e_cal_backend_factory_get_protocol
                                                (ECalBackendFactory *factory);

Gets the protocol used by the factory.

`factory` : | An ECalBackendFactory object.
Returns : | The protocol.

### e_cal_backend_factory_new_backend ()

    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.