TagLib API Documentation
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:
51
56
61
64
70 String toString() const override;
71
81
90
96 String text() const;
97
105 void setLanguage(const ByteVector &languageEncoding);
106
112 void setDescription(const String &s);
113
119 void setText(const String &s) override;
120
130
139
140
151 PropertyMap asProperties() const override;
152
161
162 protected:
163 // Reimplementations.
164
165 void parseFields(const ByteVector &data) override;
166 ByteVector renderFields() const override;
167
168 private:
173
174 class UnsynchronizedLyricsFramePrivate;
176 std::unique_ptr<UnsynchronizedLyricsFramePrivate> d;
177 };
178
179 } // namespace ID3v2
180} // namespace TagLib
181#endif
A byte vector.
Definition: tbytevector.h:46
A factory for creating ID3v2 frames during parsing.
Definition: id3v2framefactory.h:68
ID3v2 frame implementation.
Definition: id3v2frame.h:57
An implementation of ID3v2 headers.
Definition: id3v2header.h:49
The main class in the ID3v2 implementation.
Definition: id3v2tag.h:134
ID3v2 unsynchronized lyrics frame.
Definition: unsynchronizedlyricsframe.h:42
void parseFields(const ByteVector &data) override
UnsynchronizedLyricsFrame & operator=(const UnsynchronizedLyricsFrame &)=delete
void setTextEncoding(String::Type encoding)
UnsynchronizedLyricsFrame(const ByteVector &data)
void setText(const String &s) override
PropertyMap asProperties() const override
void setLanguage(const ByteVector &languageEncoding)
ByteVector renderFields() const override
UnsynchronizedLyricsFrame(const UnsynchronizedLyricsFrame &)=delete
static UnsynchronizedLyricsFrame * findByDescription(const Tag *tag, const String &d)
UnsynchronizedLyricsFrame(String::Type encoding=String::Latin1)
A map for format-independent <key,values> tag representations.
Definition: tpropertymap.h:123
A wide string class suitable for unicode.
Definition: tstring.h:83
Type
Definition: tstring.h:96
@ Latin1
Definition: tstring.h:100
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
#define TAGLIB_EXPORT
Definition: taglib_export.h:40
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition: taglib_export.h:55