Save inline images displayed via MIME Content-ID: Closes #7475
Some reorganization of how data: URIs are assembled and injected into the document. Also, mild improvement to the GMime bindings.
This commit is contained in:
parent
935b90d3a6
commit
9a8f96310c
8 changed files with 124 additions and 87 deletions
|
|
@ -804,19 +804,19 @@ namespace GMime {
|
|||
[CCode (cname = "g_mime_part_get_best_content_encoding")]
|
||||
public GMime.ContentEncoding get_best_content_encoding (GMime.EncodingConstraint constraint);
|
||||
[CCode (cname = "g_mime_part_get_content_description")]
|
||||
public unowned string get_content_description ();
|
||||
public unowned string? get_content_description ();
|
||||
[CCode (cname = "g_mime_part_get_content_encoding")]
|
||||
public GMime.ContentEncoding get_content_encoding ();
|
||||
[CCode (cname = "g_mime_part_get_content_id")]
|
||||
public unowned string get_content_id ();
|
||||
public unowned string? get_content_id ();
|
||||
[CCode (cname = "g_mime_part_get_content_location")]
|
||||
public unowned string get_content_location ();
|
||||
public unowned string? get_content_location ();
|
||||
[CCode (cname = "g_mime_part_get_content_md5")]
|
||||
public unowned string get_content_md5 ();
|
||||
public unowned string? get_content_md5 ();
|
||||
[CCode (cname = "g_mime_part_get_content_object")]
|
||||
public unowned GMime.DataWrapper get_content_object ();
|
||||
public unowned GMime.DataWrapper? get_content_object ();
|
||||
[CCode (cname = "g_mime_part_get_filename")]
|
||||
public unowned string get_filename ();
|
||||
public unowned string? get_filename ();
|
||||
[CCode (cname = "g_mime_part_set_content_description")]
|
||||
public void set_content_description (string description);
|
||||
[CCode (cname = "g_mime_part_set_content_encoding")]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,13 @@ g_mime_object_get_content_type_parameter nullable="1"
|
|||
g_mime_object_to_string transfer_ownership="1"
|
||||
g_mime_param_next name="get_next"
|
||||
g_mime_parser_construct_message nullable="1"
|
||||
g_mime_part_get_content_description nullable="1"
|
||||
g_mime_part_get_content_location nullable="1"
|
||||
g_mime_part_get_content_id nullable="1"
|
||||
g_mime_part_get_content_md5 nullable="1"
|
||||
g_mime_part_get_content_object nullable="1"
|
||||
g_mime_part_get_content_part nullable="1"
|
||||
g_mime_part_get_filename nullable="1"
|
||||
g_mime_signer_next name="get_next"
|
||||
g_mime_stream_mem_new_with_buffer.buffer is_array="1" array_length_pos="1.0" type_name="uint8[]"
|
||||
g_mime_stream_mem_new_with_buffer.len hidden="1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue