id3v1genres.h
Go to the documentation of this file.
/***************************************************************************
copyright : (C) 2002 - 2008 by Scott Wheeler
email : wheeler@kde.org
***************************************************************************/
/***************************************************************************
* 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_ID3V1GENRE_H
#define TAGLIB_ID3V1GENRE_H
#include "tmap.h"
#include "tstringlist.h"
#include "taglib_export.h"
namespace TagLib {
namespace ID3v1 {
using GenreMap = Map<String, int>;
StringList TAGLIB_EXPORT genreList();
GenreMap TAGLIB_EXPORT genreMap();
String TAGLIB_EXPORT genre(int index);
int TAGLIB_EXPORT genreIndex(const String &name);
} // namespace ID3v1
} // namespace TagLib
#endif
TagLib::Map
A generic, implicitly shared map.
Definition tmap.h:45
TagLib::StringList
A list of strings.
Definition tstringlist.h:44
TagLib::String
A wide string class suitable for unicode.
Definition tstring.h:83
TagLib::ID3v1
An ID3v1 implementation.
Definition apefile.h:45
TagLib::ID3v1::GenreMap
Map< String, int > GenreMap
Definition id3v1genres.h:36
TagLib::ID3v1::genreIndex
int TAGLIB_EXPORT genreIndex(const String &name)
TagLib::ID3v1::genreMap
GenreMap TAGLIB_EXPORT genreMap()
TagLib::ID3v1::genreList
StringList TAGLIB_EXPORT genreList()
TagLib::ID3v1::genre
String TAGLIB_EXPORT genre(int index)
TagLib
A namespace for all TagLib related classes and functions.
Definition apefile.h:41
taglib_export.h
TAGLIB_EXPORT
#define TAGLIB_EXPORT
Definition taglib_export.h:40
tmap.h
tstringlist.h