Class
CamelMimePart
Instance methods
camel_mime_part_construct_content_from_parser
Constructs the contnet of mime_part
from the given mime parser.
since: 2.24
camel_mime_part_construct_from_parser
Asynchronously constructs a MIME part from a parser.
since: 3.0
camel_mime_part_construct_from_parser_finish
Finishes the operation started with camel_mime_part_construct_from_parser().
since: 3.0
camel_mime_part_generate_preview
Generates preview of the mime_part
, to be used in the interface,
read by the users.
since: 3.52
camel_mime_part_get_content_disposition
Get the disposition of the MIME part as a structure.
Returned pointer is owned by mime_part
.
since: 2.30
camel_mime_part_set_content
Utility function used to set the content of a mime part object to
be the provided data. If length
is 0, this routine can be used as
a way to remove old content (in which case data
and type
are
ignored and may be NULL
).
Methods inherited from CamelMedium (8)
camel_medium_add_header
Adds a header to a CamelMedium
.
camel_medium_dup_headers
Gets an array of all header name/value pairs. The values will be decoded to UTF-8 for any headers that are recognized by Camel. See also camel_medium_get_headers().
since: 3.24
camel_medium_get_content
Gets a data wrapper that represents the content of the medium, without its headers.
camel_medium_get_header
Gets the value of the named header in the medium, or NULL
if
it is unset. The caller should not modify or free the data.
camel_medium_get_headers
Gets an array of all header name/value pairs. The values will be decoded to UTF-8 for any headers that are recognized by Camel. See also camel_medium_dup_headers().
since: 3.24
camel_medium_remove_header
Removes the named header from the medium. All occurances of the header are removed.
camel_medium_set_content
Sets the content of medium
to be content
.
camel_medium_set_header
Sets the value of a header. Any other occurances of the header
will be removed. Setting a NULL
header can be used to remove
the header also.
Methods inherited from CamelDataWrapper (31)
Please see CamelDataWrapper for a full list of methods.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct CamelMimePartClass {
CamelMediumClass parent_class;
gboolean (* construct_from_parser_sync) (
CamelMimePart* mime_part,
CamelMimeParser* parser,
GCancellable* cancellable,
GError** error
);
gchar* (* generate_preview) (
CamelMimePart* mime_part,
CamelGeneratePreviewFunc func,
gpointer user_data
);
None reserved;
}
Class members
parent_class: CamelMediumClass
- No description available.
construct_from_parser_sync: gboolean (* construct_from_parser_sync) ( CamelMimePart* mime_part, CamelMimeParser* parser, GCancellable* cancellable, GError** error )
- No description available.
generate_preview: gchar* (* generate_preview) ( CamelMimePart* mime_part, CamelGeneratePreviewFunc func, gpointer user_data )
- No description available.
reserved: None
- No description available.
Virtual methods
Camel.MimePartClass.generate_preview
Generates preview of the mime_part
, to be used in the interface,
read by the users.
since: 3.52