From 034c4d00395e4b1716d9996133f7b43f409ebcf4 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 21 Jan 2010 00:20:20 +0100 Subject: Removed some unused legacy code. --- src/exiv2wrapper.hpp | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'src/exiv2wrapper.hpp') diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp index 65853bc..a1c28df 100644 --- a/src/exiv2wrapper.hpp +++ b/src/exiv2wrapper.hpp @@ -211,33 +211,9 @@ public: // Throw an exception if the tag was not set. void deleteXmpTag(std::string key); - // Read and write access to the thumbnail embedded in the image. - - // Read-only ATM. + // Read access to the thumbnail embedded in the image. boost::python::list previews(); - // Return a tuple containing the format of the thumbnail ("TIFF" or - // "JPEG") and the thumbnail raw data as a string buffer. - // Throw an exception if the thumbnail data cannot be accessed. - //boost::python::tuple getThumbnailData(); - - // Set the thumbnail of the image. The parameter is the thumbnail raw - // jpeg data as a string buffer. - //void setThumbnailData(std::string data); - - // Delete the thumbnail embedded in the image. - //void deleteThumbnail(); - - // Write the thumbnail to an image file. - // A filename extension is appended to the given path according to the - // image type of the thumbnail, so it should not include an extension. - // Throw an exception if the image does not contain a thumbnail. - //void dumpThumbnailToFile(const std::string path); - - // Set the image contained in the jpeg file passed as a parameter as - // the thumbnail of the image. - //void setThumbnailFromJpegFile(const std::string path); - private: std::string _filename; Exiv2::Image::AutoPtr _image; -- cgit