From 9c2d9e6fe34a677c965eb9bbfd407b0b964ad763 Mon Sep 17 00:00:00 2001 From: LarsAC Date: Thu, 6 Oct 2005 22:56:37 +0000 Subject: Delete generated image files git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@854 e10066b5-e1e2-0310-b819-94efdf66514b --- mg_image_provider.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mg_image_provider.h b/mg_image_provider.h index 9f9fcc0..2c81ef7 100644 --- a/mg_image_provider.h +++ b/mg_image_provider.h @@ -10,6 +10,10 @@ class mgItemGd; #include #include +#include +#include +#include + class mgImageProvider : public cThread { public: @@ -46,6 +50,9 @@ class mgImageProvider : public cThread */ void fillImageList( std::string dir ); + void writeImage( TagLib::ByteVector &image, int num, std::string &image_cache ); + std::string treatFrameList( TagLib::ID3v2::FrameList &l, std::string &image_cache ); + /*! \brief save images from APIC tag and save to file. returns directory where images were saved or empty string if no images were found in the APIC tag */ std::string extractImagesFromTag( std::string filename ); @@ -70,6 +77,8 @@ class mgImageProvider : public cThread std::vector m_converted_images; std::string m_source_dir; + + bool m_delete_imgs_from_tag; }; #endif -- cgit v1.2.3