aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-20 18:35:10 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-20 18:35:10 +0100
commitf67e40873fb2078ee8a065e3210aff95251b8cd9 (patch)
tree5679010384af5e71bca631fec05bf7db4f462cdc /src/exiv2wrapper.hpp
parent30c9eab71722eac240e2885b1b259cad96fd2df7 (diff)
downloadpyexiv2-f67e40873fb2078ee8a065e3210aff95251b8cd9.tar.gz
Make Image::getXmpTag return an XmpTag.
Diffstat (limited to 'src/exiv2wrapper.hpp')
-rw-r--r--src/exiv2wrapper.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp
index 0ebdf53..76e5021 100644
--- a/src/exiv2wrapper.hpp
+++ b/src/exiv2wrapper.hpp
@@ -180,13 +180,9 @@ public:
boost::python::list xmpKeys();
- // key
- // tagname
- // taglabel
- // tagdesc
- // type
- // tagvalue (list)
- boost::python::tuple getXmpTag(std::string key);
+ // Return the required XMP tag.
+ // Throw an exception if the tag is not set.
+ const XmpTag getXmpTag(std::string key);
void setXmpTagValue(std::string key, std::string value);