EDataBookFactory

EDataBookFactory — The main addressbook server object

Synopsis

#include <libedata-book/libedata-book.h>

#define             EDS_ADDRESS_BOOK_MODULES
struct              EDataBookFactory;
struct              EDataBookFactoryClass;
EDBusServer *       e_data_book_factory_new             (GCancellable *cancellable,
                                                         GError **error);
ESourceRegistry *   e_data_book_factory_get_registry    (EDataBookFactory *factory);

Description

This class handles incomming D-Bus connections and creates the EDataBook layer for server side addressbooks to communicate with client side EBookClient objects.

Details

EDS_ADDRESS_BOOK_MODULES

#define EDS_ADDRESS_BOOK_MODULES "EDS_ADDRESS_BOOK_MODULES"

This environment variable configures where the address book factory loads it's backend modules from.


struct EDataBookFactory

struct EDataBookFactory {
	EDataFactory parent;
	EDataBookFactoryPrivate *priv;
};

struct EDataBookFactoryClass

struct EDataBookFactoryClass {
	EDataFactoryClass parent_class;
};

e_data_book_factory_new ()

EDBusServer *       e_data_book_factory_new             (GCancellable *cancellable,
                                                         GError **error);

e_data_book_factory_get_registry ()

ESourceRegistry *   e_data_book_factory_get_registry    (EDataBookFactory *factory);

Returns the ESourceRegistry owned by factory.

factory :

an EDataBookFactory

Returns :

the ESourceRegistry

Since 3.6