Top |
Object Hierarchy
GObject ╰── EDBusServer ╰── EDataFactory ├── EDataBookFactory ├── EDataCalFactory ╰── ESourceRegistryServer
Functions
e_data_factory_ref_backend_factory ()
EBackendFactory * e_data_factory_ref_backend_factory (EDataFactory *data_factory
,const gchar *backend_name
,const gchar *extension_name
);
Returns the EBackendFactory for "backend_name
:extension_name
", or
NULL
if no such factory is registered.
The returned EBackendFactory is referenced for thread-safety.
Unreference the EBackendFactory with g_object_unref()
when finished
with it.
Parameters
data_factory |
an EDataFactory |
|
backend_name |
a backend name |
|
extension_name |
an extension name |
Since: 3.6
e_data_factory_get_registry ()
ESourceRegistry *
e_data_factory_get_registry (EDataFactory *data_factory
);
Returns the ESourceRegistry owned by data_factory
.
Since: 3.16
e_data_factory_construct_path ()
gchar *
e_data_factory_construct_path (EDataFactory *data_factory
);
Returns a new and unique object path for a D-Bus interface based
in the data object path prefix of the data_factory
Since: 3.16
e_data_factory_spawn_subprocess_backend ()
void e_data_factory_spawn_subprocess_backend (EDataFactory *data_factory
,GDBusMethodInvocation *invocation
,const gchar *uid
,const gchar *extension_name
,const gchar *subprocess_path
);
Spawns a new subprocess for a backend type and returns the object path of the new subprocess to the client, in the way the client can talk directly to the running backend. If the backend already has a subprocess running, the used object path is returned to the client.
Parameters
data_factory |
an EDataFactory |
|
invocation |
a GDBusMethodInvcation |
|
uid |
an ESource UID |
|
extension_name |
an extension name |
|
subprocess_path |
a path of an executable responsible for running the subprocess |
Since: 3.16
e_data_factory_get_reload_supported ()
gboolean
e_data_factory_get_reload_supported (EDataFactory *data_factory
);
Types and Values
struct EDataFactory
struct EDataFactory;
Contains only private data that should be read and manipulated using the functions below.
Since: 3.4