Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

id3tag.h

Go to the documentation of this file.
00001 
00006 #ifndef _ID3TAG_H_
00007 #define _ID3TAG_H_
00008 
00009 #include <id3v2tag.h> //Taglib
00010 
00018 class ID3Tag
00019 {
00020   public:  
00024     ID3Tag();
00025     
00029     ~ID3Tag();
00030     
00037     int ParseParam(const char param, const char *value);
00038     
00044     void Read(const char *filename);
00045     
00051     void Write(const char *filename) const;
00052     
00057     void Show(std::ostream &ostr) const;
00058 
00059   private:
00060     bool m_usetagv1; //Whether to write ID3v1 tag
00061     bool m_usetagv2; //Whether to write ID3v2 tag
00062     bool m_noreadtags; //Don't read ID3 tags, create them from scratch
00063     TagLib::Tag *m_tagv1, *m_tagv2; //Tags from input file
00064     TagLib::ID3v2::Tag *m_newtag; //Tag constructed from parameters
00065 };
00066 
00067 #endif //_ID3TAG_H_

Generated on Wed Sep 6 00:17:57 2006 for Kraken by  doxygen 1.4.4