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
31namespace TagLib {
32
33 namespace Mod {
34
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
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
171
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
Definition: modtag.h:48
virtual void setAlbum(const String &album)
virtual void setArtist(const String &artist)
virtual void setGenre(const String &genre)
virtual String album() const
virtual unsigned int track() const
PropertyMap setProperties(const PropertyMap &)
virtual void setTrack(unsigned int track)
String trackerName() const
virtual void setTitle(const String &title)
virtual String artist() const
void setTrackerName(const String &trackerName)
PropertyMap properties() const
virtual String title() const
virtual unsigned int year() const
virtual void setYear(unsigned int year)
virtual String comment() const
virtual String genre() const
virtual void setComment(const String &comment)
A map for format-independent <key,valuelist> tag representations.
Definition: tpropertymap.h:119
A wide string class suitable for unicode.
Definition: tstring.h:85
Definition: tag.h:47
String TAGLIB_EXPORT genre(int index)
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
#define TAGLIB_EXPORT
Definition: taglib_export.h:40