Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── EMailExtensionRegistry ├── EMailFormatterExtensionRegistry ╰── EMailParserExtensionRegistry
GQueue * e_mail_extension_registry_get_for_mime_type (EMailExtensionRegistry *registry
,const gchar *mime_type
);
Tries to lookup list of EMailExtensions that has registryed themselves
as handlers for the mime_type
.
GQueue * e_mail_extension_registry_get_fallback (EMailExtensionRegistry *registry
,const gchar *mime_type
);
Tries to lookup fallback parsers for given mime type. For instance, for multipart/alternative, it will try to lookup multipart/ * parser.
Returns QGueue of EMailExtensions or NULL
when there
are no extensions registryed for the fallback type.
void
e_mail_parser_extension_registry_load (EMailParserExtensionRegistry *registry
);
void e_mail_formatter_extension_registry_load (EMailFormatterExtensionRegistry *registry
,GType base_extension_type
);