Top | ![]() |
![]() |
![]() |
![]() |
ESourceExtensionESourceExtension — Base class for ESource extensions |
GObject ╰── ESourceExtension ├── ESourceBackend ├── ESourceAuthentication ├── ESourceCamel ├── ESourceGoa ├── ESourceMailComposition ├── ESourceMailIdentity ├── ESourceMailSignature ├── ESourceMailSubmission ├── ESourceMDN ├── ESourceOffline ├── ESourceOpenPGP ├── ESourceRefresh ├── ESourceResource ├── ESourceRevisionGuards ├── ESourceSecurity ├── ESourceSMIME ├── ESourceUoa ├── ESourceWebdav ├── ESourceAlarms ╰── ESourceAutocomplete
ESourceExtension is an abstract base class for ESource extension objects. An ESourceExtension object basically just maps the keys in a key file group to a set of GObject properties. The name of the key file group doubles as the name of the ESourceExtension object.
ESourceExtension objects are accessed through e_source_get_extension()
.
#define E_SOURCE_PARAM_SETTING (1 << G_PARAM_USER_SHIFT)
Extends GParamFlags to indicate the GObject property is associated with a key file value. Use this flag when installing GObject properties in ESourceExtension subclasses.
Since 3.6
ESource *
e_source_extension_ref_source (ESourceExtension *extension
);
Returns the ESource instance to which the extension
belongs.
The returned ESource is referenced for thread-safety. Unreference
the ESource with g_object_unref()
when finished with it.
Since 3.8
ESource *
e_source_extension_get_source (ESourceExtension *extension
);
e_source_extension_get_source
has been deprecated since version 3.8 and should not be used in newly-written code.
Use e_source_extension_ref_source()
instead.
Returns the ESource instance to which extension
belongs.
Note this function is not thread-safe. The returned ESource could be finalized by another thread while the caller is still using it.
Since 3.6
“source”
property“source” ESource *
The ESource being extended.
Flags: Read / Write / Construct Only