unsynchronizedlyricsframe.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef TAGLIB_UNSYNCHRONIZEDLYRICSFRAME_H
00029 #define TAGLIB_UNSYNCHRONIZEDLYRICSFRAME_H
00030
00031 #include <id3v2frame.h>
00032
00033 namespace TagLib {
00034
00035 namespace ID3v2 {
00036
00038
00041 class TAGLIB_EXPORT UnsynchronizedLyricsFrame : public Frame
00042 {
00043 friend class FrameFactory;
00044
00045 public:
00050 explicit UnsynchronizedLyricsFrame(String::Type encoding = String::Latin1);
00051
00055 explicit UnsynchronizedLyricsFrame(const ByteVector &data);
00056
00060 virtual ~UnsynchronizedLyricsFrame();
00061
00067 virtual String toString() const;
00068
00077 ByteVector language() const;
00078
00086 String description() const;
00087
00093 String text() const;
00094
00102 void setLanguage(const ByteVector &languageCode);
00103
00109 void setDescription(const String &s);
00110
00116 virtual void setText(const String &s);
00117
00126 String::Type textEncoding() const;
00127
00135 void setTextEncoding(String::Type encoding);
00136
00137 protected:
00138
00139
00140 virtual void parseFields(const ByteVector &data);
00141 virtual ByteVector renderFields() const;
00142
00143 private:
00147 UnsynchronizedLyricsFrame(const ByteVector &data, Header *h);
00148 UnsynchronizedLyricsFrame(const UnsynchronizedLyricsFrame &);
00149 UnsynchronizedLyricsFrame &operator=(const UnsynchronizedLyricsFrame &);
00150
00151 class UnsynchronizedLyricsFramePrivate;
00152 UnsynchronizedLyricsFramePrivate *d;
00153 };
00154
00155 }
00156 }
00157 #endif