[gexiv2/gexiv2-0.10] Update VAPI
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2/gexiv2-0.10] Update VAPI
- Date: Mon, 23 Mar 2015 23:32:38 +0000 (UTC)
commit d924fc6d326d6aee26c0388d986c7ad249fb6a5b
Author: Jim Nelson <jim yorba org>
Date: Wed Oct 8 11:46:24 2014 -0700
Update VAPI
gexiv2.vapi | 20 ++++++++++++++++++++
vapi/gexiv2.metadata | 1 +
2 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/gexiv2.vapi b/gexiv2.vapi
index e915f57..5a52e33 100644
--- a/gexiv2.vapi
+++ b/gexiv2.vapi
@@ -30,6 +30,7 @@ namespace GExiv2 {
public void delete_gps_info ();
public void erase_exif_thumbnail ();
public bool from_app1_segment ([CCode (array_length = false)] uchar[] data, long n_data)
throws GLib.Error;
+ public string? generate_xmp_packet (GExiv2.XmpFormatFlags xmp_format_flags, uint32 padding);
public string? get_comment ();
public bool get_exif_tag_rational (string tag, out int nom, out int den);
[CCode (array_length = false, array_null_terminated = true)]
@@ -88,6 +89,7 @@ namespace GExiv2 {
public bool set_tag_long (string tag, long value);
public bool set_tag_multiple (string tag, [CCode (array_length = false, array_null_terminated
= true)] string[] values);
public bool set_tag_string (string tag, string value);
+ public bool set_xmp_tag_struct (string tag, GExiv2.StructureType type);
public static void unregister_all_xmp_namespaces ();
public static bool unregister_xmp_namespace (string name);
}
@@ -132,12 +134,30 @@ namespace GExiv2 {
ROT_270,
MAX
}
+ [CCode (cheader_filename = "gexiv2/gexiv2.h", cprefix = "GEXIV2_STRUCTURE_XA_", has_type_id = false)]
+ public enum StructureType {
+ NONE,
+ ALT,
+ BAG,
+ SEQ,
+ LANG
+ }
[CCode (cheader_filename = "gexiv2/gexiv2.h", cprefix = "", has_type_id = false)]
public enum WrapperSeekOrigin {
Begin,
Current,
End
}
+ [CCode (cheader_filename = "gexiv2/gexiv2.h", cprefix = "GEXIV2_", has_type_id = false)]
+ public enum XmpFormatFlags {
+ OMIT_PACKET_WRAPPER,
+ READ_ONLY_PACKET,
+ USE_COMPACT_FORMAT,
+ INCLUDE_THUMBNAIL_PAD,
+ EXACT_PACKET_LENGTH,
+ WRITE_ALIAS_COMMENTS,
+ OMIT_ALL_FORMATTING
+ }
[CCode (cheader_filename = "gexiv2/gexiv2.h", has_target = false)]
public delegate void LogHandler (GExiv2.LogLevel level, string msg);
[CCode (cheader_filename = "gexiv2/gexiv2.h", has_target = false)]
diff --git a/vapi/gexiv2.metadata b/vapi/gexiv2.metadata
index 765e202..60934cf 100644
--- a/vapi/gexiv2.metadata
+++ b/vapi/gexiv2.metadata
@@ -39,6 +39,7 @@ gexiv2_metadata_get_exif_tag_label nullable="1"
gexiv2_metadata_get_exif_tag_description nullable="1"
gexiv2_metadata_get_xmp_packet transfer_ownership="1" nullable="1"
+gexiv2_metadata_generate_xmp_packet transfer_ownership="1" nullable="1"
gexiv2_metadata_get_xmp_tags is_array="1" array_null_terminated="1" transfer_ownership="1"
gexiv2_metadata_get_xmp_tag_label nullable="1"
gexiv2_metadata_get_xmp_tag_description nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]