EDataFactory: Add a "backend-created" signal.
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 12 Nov 2012 14:31:16 +0000 (09:31 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 12 Nov 2012 14:34:15 +0000 (09:34 -0500)
commit9c4d563646efa3d447545213bfa6ba808410f119
tree2a54af35c35e9ba19e1769c42cf2fbdd5a3d24f9
parent88286373727ef57c2b20b107467db65fd882b0f3
EDataFactory: Add a "backend-created" signal.

Allows EDataFactory extensions to catch newly-created backends and
perform additional initialization on it.

The use case I have in mind is to move all the GOA initialization in
EDataBookFactory to the gnome-online-accounts module as an extension.

Note this uses one of the reserved pointer slots in EDataFactoryClass
and therefore does not break ABI.
libebackend/e-data-factory.c
libebackend/e-data-factory.h