modtag.h
Go to the documentation of this file.
/***************************************************************************
copyright : (C) 2011 by Mathias Panzenböck
email : grosser.meister.morti@gmx.net
***************************************************************************/
/***************************************************************************
* This library is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License version *
* 2.1 as published by the Free Software Foundation. *
* *
* This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
* 02110-1301 USA *
* *
* Alternatively, this file is available under the Mozilla Public *
* License Version 1.1. You may obtain a copy of the License at *
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#ifndef TAGLIB_MODTAG_H
#define TAGLIB_MODTAG_H
#include "tag.h"
namespace TagLib {
namespace Mod {
class TAGLIB_EXPORT Tag : public TagLib::Tag
{
public:
Tag();
~Tag() override;
Tag(const Tag &) = delete;
Tag &operator=(const Tag &) = delete;
String title() const override;
String artist() const override;
String album() const override;
String comment() const override;
String genre() const override;
unsigned int year() const override;
unsigned int track() const override;
String trackerName() const;
void setTitle(const String &title) override;
void setArtist(const String &artist) override;
void setAlbum(const String &album) override;
void setComment(const String &comment) override;
void setGenre(const String &genre) override;
void setYear(unsigned int year) override;
void setTrack(unsigned int track) override;
void setTrackerName(const String &trackerName);
PropertyMap properties() const override;
PropertyMap setProperties(const PropertyMap &) override;
private:
class TagPrivate;
TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
std::unique_ptr<TagPrivate> d;
};
} // namespace Mod
} // namespace TagLib
#endif
TagLib::Mod::Tag::setTitle
void setTitle(const String &title) override
TagLib::Mod::Tag::operator=
Tag & operator=(const Tag &)=delete
TagLib::Mod::Tag::properties
PropertyMap properties() const override
TagLib::Mod::Tag::album
String album() const override
TagLib::Mod::Tag::track
unsigned int track() const override
TagLib::Mod::Tag::setArtist
void setArtist(const String &artist) override
TagLib::Mod::Tag::setComment
void setComment(const String &comment) override
TagLib::Mod::Tag::Tag
Tag()
TagLib::Mod::Tag::artist
String artist() const override
TagLib::Mod::Tag::trackerName
String trackerName() const
TagLib::Mod::Tag::setTrackerName
void setTrackerName(const String &trackerName)
TagLib::Mod::Tag::setProperties
PropertyMap setProperties(const PropertyMap &) override
TagLib::Mod::Tag::comment
String comment() const override
TagLib::Mod::Tag::title
String title() const override
TagLib::Mod::Tag::setAlbum
void setAlbum(const String &album) override
TagLib::Mod::Tag::setYear
void setYear(unsigned int year) override
TagLib::Mod::Tag::setTrack
void setTrack(unsigned int track) override
TagLib::Mod::Tag::genre
String genre() const override
TagLib::Mod::Tag::Tag
Tag(const Tag &)=delete
TagLib::Mod::Tag::setGenre
void setGenre(const String &genre) override
TagLib::Mod::Tag::~Tag
~Tag() override
TagLib::Mod::Tag::year
unsigned int year() const override
TagLib::PropertyMap
A map for format-independent <key,values> tag representations.
Definition tpropertymap.h:123
TagLib::String
A wide string class suitable for unicode.
Definition tstring.h:83
TagLib::Tag
A simple, generic interface to common audio metadata fields.
Definition tag.h:49
TagLib::Mod
An implementation of Protracker metadata.
Definition modfile.h:44
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
TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition taglib_export.h:55