aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-03-19 09:28:08 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-03-19 09:28:08 +0100
commit2d7d156f764e0dff08893b91da009ddebc785661 (patch)
tree2ca450c39d1b3eff05f2616b2bd0e709b5b29deb /src/exiv2wrapper.cpp
parent018ae9000b433efb7c1ab0d6f314ffa298d7ebd8 (diff)
downloadpyexiv2-2d7d156f764e0dff08893b91da009ddebc785661.tar.gz
Removed unused code.
Updated the todo list.
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r--src/exiv2wrapper.cpp26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp
index 156a706..2aecf8d 100644
--- a/src/exiv2wrapper.cpp
+++ b/src/exiv2wrapper.cpp
@@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
/*
- File: exiv2wrapper.cpp
- Author(s): Olivier Tilloy <olivier@tilloy.net>
+ Author: Olivier Tilloy <olivier@tilloy.net>
*/
// *****************************************************************************
@@ -381,25 +380,7 @@ boost::python::tuple Image::getXmpTag(std::string key)
}
}
-/*boost::python::tuple Image::tagDetails(std::string key)
-{
- std::string keyFamily = key.substr(0, 4);
- if (keyFamily == "Exif")
- {
- Exiv2::ExifKey exifKey = Exiv2::ExifKey(key);
- std::string tagLabel = exifKey.tagLabel();
- std::string tagDesc = std::string(Exiv2::ExifTags::tagDesc(exifKey.tag(), exifKey.ifdId()));
- return boost::python::make_tuple(tagLabel, tagDesc);
- }
- else if (keyFamily == "Iptc")
- {
- Exiv2::IptcKey iptcKey = Exiv2::IptcKey(key);
- std::string tagLabel = iptcKey.tagLabel();
- std::string tagDesc = std::string(Exiv2::IptcDataSets::dataSetDesc(iptcKey.tag(), iptcKey.record()));
- return boost::python::make_tuple(tagLabel, tagDesc);
- }
-}
-
+/*
boost::python::tuple Image::getThumbnailData()
{
if(_dataRead)
@@ -472,7 +453,8 @@ void Image::setThumbnailFromJpegFile(const std::string path)
}
else
throw Exiv2::Error(METADATA_NOT_READ);
-}*/
+}
+*/
void translateExiv2Error(Exiv2::Error const& error)
{