TagLib 1.12 (unsynchronizedlyricsframe.h Source File)

unsynchronizedlyricsframe.h
Go to the documentation of this file.
1/***************************************************************************
2 copyright : (C) 2002 - 2008 by Scott Wheeler
3 email : wheeler@kde.org
4 copyright : (C) 2006 by Urs Fleisch
5 email : ufleisch@users.sourceforge.net
6 ***************************************************************************/
7
8/***************************************************************************
9 * This library is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU Lesser General Public License version *
11 * 2.1 as published by the Free Software Foundation. *
12 * *
13 * This library is distributed in the hope that it will be useful, but *
14 * WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16 * Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public *
19 * License along with this library; if not, write to the Free Software *
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
21 * 02110-1301 USA *
22 * *
23 * Alternatively, this file is available under the Mozilla Public *
24 * License Version 1.1. You may obtain a copy of the License at *
25 * http://www.mozilla.org/MPL/ *
26 ***************************************************************************/
27
28#ifndef TAGLIB_UNSYNCHRONIZEDLYRICSFRAME_H
29#define TAGLIB_UNSYNCHRONIZEDLYRICSFRAME_H
30
31#include "id3v2frame.h"
32
33namespace TagLib {
34
35 namespace ID3v2 {
36
38
42 {
43 friend class FrameFactory;
44
45 public:
50 explicit UnsynchronizedLyricsFrame(String::Type encoding = String::Latin1);
51
56
61
67 virtual String toString() const;
68
78
87
93 String text() const;
94
102 void setLanguage(const ByteVector &languageCode);
103
109 void setDescription(const String &s);
110
116 virtual void setText(const String &s);
117
127
136
137
149
158
159 protected:
160 // Reimplementations.
161
162 virtual void parseFields(const ByteVector &data);
163 virtual ByteVector renderFields() const;
164
165 private:
172
173 class UnsynchronizedLyricsFramePrivate;
174 UnsynchronizedLyricsFramePrivate *d;
175 };
176
177 }
178}
179#endif
A byte vector.
Definition tbytevector.h:46
A factory for creating ID3v2 frames during parsing.
Definition id3v2framefactory.h:66
ID3v2 frame implementation.
Definition id3v2frame.h:55
An implementation of ID3v2 headers.
Definition id3v2header.h:49
The main class in the ID3v2 implementation.
Definition id3v2tag.h:128
ID3v2 unsynchronized lyrics frame.
Definition unsynchronizedlyricsframe.h:42
void setTextEncoding(String::Type encoding)
UnsynchronizedLyricsFrame(const ByteVector &data)
static UnsynchronizedLyricsFrame * findByDescription(const Tag *tag, const String &d)
virtual void parseFields(const ByteVector &data)
UnsynchronizedLyricsFrame(String::Type encoding=String::Latin1)
virtual void setText(const String &s)
virtual ByteVector renderFields() const
void setLanguage(const ByteVector &languageCode)
A map for format-independent <key,valuelist> tag representations.
Definition tpropertymap.h:114
A wide string class suitable for unicode.
Definition tstring.h:85
Type
Definition tstring.h:97
A namespace for all TagLib related classes and functions.
Definition apefile.h:41
#define TAGLIB_EXPORT
Definition taglib_export.h:40