| TagLib 1.13 |  |

modtag.h
Go to the documentation of this file.
1/***************************************************************************
2 copyright : (C) 2011 by Mathias Panzenböck
3 email : grosser.meister.morti@gmx.net
4 ***************************************************************************/
5
6/***************************************************************************
7 * This library is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU Lesser General Public License version *
9 * 2.1 as published by the Free Software Foundation. *
10 * *
11 * This library is distributed in the hope that it will be useful, but *
12 * WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * Lesser General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU Lesser General Public *
17 * License along with this library; if not, write to the Free Software *
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
19 * 02110-1301 USA *
20 * *
21 * Alternatively, this file is available under the Mozilla Public *
22 * License Version 1.1. You may obtain a copy of the License at *
23 * http://www.mozilla.org/MPL/ *
24 ***************************************************************************/
25
26#ifndef TAGLIB_MODTAG_H
27#define TAGLIB_MODTAG_H
28
29#include "tag.h"
30
31 namespace TagLib {
32
33 namespace Mod {
34
47 class TAGLIB_EXPORT Tag : public TagLib::Tag
48 {
49 public:
50 Tag();
51 virtual ~Tag();
52
57 virtual String title() const;
58
62 virtual String artist() const;
63
67 virtual String album() const;
68
74 virtual String comment() const;
75
79 virtual String genre() const;
80
84 virtual unsigned int year() const;
85
89 virtual unsigned int track() const;
90
98 String trackerName() const;
99
108 virtual void setTitle(const String &title);
109
113 virtual void setArtist(const String &artist);
114
118 virtual void setAlbum(const String &album);
119
137 virtual void setComment(const String &comment);
138
142 virtual void setGenre(const String &genre);
143
147 virtual void setYear(unsigned int year);
148
152 virtual void setTrack(unsigned int track);
153
164 void setTrackerName(const String &trackerName);
165
170 PropertyMap properties() const;
171
180 PropertyMap setProperties(const PropertyMap &);
181
182 private:
183 Tag(const Tag &);
184 Tag &operator=(const Tag &);
185
186 class TagPrivate;
187 TagPrivate *d;
188 };
189
190 }
191
192}
193
194#endif
TagLib::Mod::Tag
Definition: modtag.h:48
TagLib::Mod::Tag::setAlbum
virtual void setAlbum(const String &album)
TagLib::Mod::Tag::setArtist
virtual void setArtist(const String &artist)
TagLib::Mod::Tag::setGenre
virtual void setGenre(const String &genre)
TagLib::Mod::Tag::album
virtual String album() const
TagLib::Mod::Tag::track
virtual unsigned int track() const
TagLib::Mod::Tag::setProperties
PropertyMap setProperties(const PropertyMap &)
TagLib::Mod::Tag::Tag
Tag()
TagLib::Mod::Tag::setTrack
virtual void setTrack(unsigned int track)
TagLib::Mod::Tag::trackerName
String trackerName() const
TagLib::Mod::Tag::setTitle
virtual void setTitle(const String &title)
TagLib::Mod::Tag::artist
virtual String artist() const
TagLib::Mod::Tag::setTrackerName
void setTrackerName(const String &trackerName)
TagLib::Mod::Tag::properties
PropertyMap properties() const
TagLib::Mod::Tag::title
virtual String title() const
TagLib::Mod::Tag::year
virtual unsigned int year() const
TagLib::Mod::Tag::~Tag
virtual ~Tag()
TagLib::Mod::Tag::setYear
virtual void setYear(unsigned int year)
TagLib::Mod::Tag::comment
virtual String comment() const
TagLib::Mod::Tag::genre
virtual String genre() const
TagLib::Mod::Tag::setComment
virtual void setComment(const String &comment)
TagLib::PropertyMap
A map for format-independent <key,valuelist> tag representations.
Definition: tpropertymap.h:119
TagLib::String
A wide string class suitable for unicode.
Definition: tstring.h:85
TagLib::Tag
Definition: tag.h:47
TagLib::ID3v1::genre
String TAGLIB_EXPORT genre(int index)
TagLib
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
tag.h
TAGLIB_EXPORT
#define TAGLIB_EXPORT
Definition: taglib_export.h:40