summaryrefslogtreecommitdiff
path: root/src/eom-exif-util.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-25 17:26:26 +0200
committerinfirit <[email protected]>2014-07-25 22:45:27 +0200
commitb8e7359d93f7f68f410391b39dde37eb1067a92a (patch)
tree54bed0f6139406c835974bf61b291004bd7ccefe /src/eom-exif-util.h
parent14a6c9ccd6088184e27a239e7b6a091b0c232e6e (diff)
downloadeom-b8e7359d93f7f68f410391b39dde37eb1067a92a.tar.bz2
eom-b8e7359d93f7f68f410391b39dde37eb1067a92a.tar.xz
Wrap ExifData in a EogExifData boxed type
This is for better interaction with bindings Based on eog commit b88d3713fe45a4bab1bd24ac8ff60551c5c31d49 From Claudio Saavedra <[email protected]>
Diffstat (limited to 'src/eom-exif-util.h')
-rw-r--r--src/eom-exif-util.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/eom-exif-util.h b/src/eom-exif-util.h
index 451924b..5a34be9 100644
--- a/src/eom-exif-util.h
+++ b/src/eom-exif-util.h
@@ -28,13 +28,21 @@
#define __EOM_EXIF_UTIL_H__
#include <glib.h>
+#include <glib-object.h>
#include <libexif/exif-data.h>
G_BEGIN_DECLS
+typedef ExifData EomExifData;
+
gchar* eom_exif_util_format_date (const gchar *date);
-const gchar *eom_exif_util_get_value (ExifData *exif_data, gint tag_id, gchar *buffer, guint buf_size);
+const gchar *eom_exif_data_get_value (EomExifData *exif_data, gint tag_id, gchar *buffer, guint buf_size);
+
+GType eom_exif_data_get_type (void) G_GNUC_CONST;
+
+EomExifData * eom_exif_data_copy (EomExifData *data);
+void eom_exif_data_free (EomExifData *data);
G_END_DECLS