TagLib  1.13.1
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 namespace Mod {
46 {
47 public:
48 Tag();
49 virtual ~Tag();
50
55 virtual String title() const;
56
60 virtual String artist() const;
61
65 virtual String album() const;
66
72 virtual String comment() const;
73
77 virtual String genre() const;
78
82 virtual unsigned int year() const;
83
87 virtual unsigned int track() const;
88
97
106 virtual void setTitle(const String &title);
107
111 virtual void setArtist(const String &artist);
112
116 virtual void setAlbum(const String &album);
117
135 virtual void setComment(const String &comment);
136
140 virtual void setGenre(const String &genre);
141
145 virtual void setYear(unsigned int year);
146
150 virtual void setTrack(unsigned int track);
151
162 void setTrackerName(const String &trackerName);
163
169
179
180 private:
181 Tag(const Tag &);
182 Tag &operator=(const Tag &);
183
184 class TagPrivate;
185 TagPrivate *d;
186 };
187 } // namespace Mod
188} // namespace TagLib
189#endif
Definition modtag.h:46
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
A namespace for all TagLib related classes and functions.
Definition apefile.h:41
#define TAGLIB_EXPORT
Definition taglib_export.h:40