ocarina/include/core/tags/artist.h

40 lines
784 B
C++

/**
* Copyright 2014 (c) Anna Schumaker.
*/
#ifndef OCARINA_CORE_TAGS_ARTIST_H
#define OCARINA_CORE_TAGS_ARTIST_H
#include <core/tags/generic.h>
/**
* The Artist tag is used to store the name of artists added
* to the tag database.
*/
struct artist : public GenericTag {
artist(); /**< Artist tag constructor. */
/**
* Artist tag constructor
*
* @param name Artist name.
*/
artist(const std::string &);
};
namespace tags
{
/** Called to read the artist_db from disk. */
void init_artist_db();
} /* Namespace: tags */
/* Called to find an artist tag by name. */
struct artist *artist_find(const std::string &);
/* Called to get an artist tag with a specific index. */
struct artist *artist_get(const unsigned int);
#endif /* OCARINA_CORE_TAGS_ARTIST_H */