## ECalBackendFactory

ECalBackendFactory — Factory for creating backends.

## Synopsis

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

## Object Hierarchy

      GObject
       +----ECalBackendFactory

## Description

## Details

### ECalBackendFactory

    typedef struct _ECalBackendFactory ECalBackendFactory;

### 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.