EMailFormatterExtensionRegistry: Evolution Mail Formatter Reference Manual

## EMailFormatterExtensionRegistry EMailFormatterExtensionRegistry |

## Functions

GQueue * | e_mail_extension_registry_get_for_mime_type ()
GQueue * | e_mail_extension_registry_get_fallback ()
void | e_mail_parser_extension_registry_load ()
void | e_mail_formatter_extension_registry_load ()

## Object Hierarchy

        GObject
        ╰── EMailExtensionRegistry
            ├── EMailFormatterExtensionRegistry
            ╰── EMailParserExtensionRegistry

## Description

## Functions

### e_mail_extension_registry_get_for_mime_type ()

    GQueue *
    e_mail_extension_registry_get_for_mime_type
                                   (EMailExtensionRegistry *registry,
                                    const gchar *mime_type);

Tries to lookup list of EMailExtension<!-//>s that has registryed themselves as handlers for the `mime_type` .

#### Parameters

registry | An EMailExtensionRegistry |
mime_type | A string with mime-type to look up |

#### Returns

Returns GQueue of EMailExtension<!-//>s or `NULL` when there are no extension registryed for given `mime_type` .

### e_mail_extension_registry_get_fallback ()

    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.

#### Parameters

registry | An EMailExtensionRegistry |
mime_type | A string with mime-type whose fallback to look up |

#### Returns

Returns QGueue of EMailExtension<!-//>>s or `NULL` when there are no extensions registryed for the fallback type.

### e_mail_parser_extension_registry_load ()

    void
    e_mail_parser_extension_registry_load (EMailParserExtensionRegistry *registry);

### e_mail_formatter_extension_registry_load ()

    void
    e_mail_formatter_extension_registry_load
                                   (EMailFormatterExtensionRegistry *registry,
                                    GType base_extension_type);

## Types and Values