/** * Copyright 2014 (c) Anna Schumaker. */ #ifndef OCARINA_CORE_TAGS_GENRE_H #define OCARINA_CORE_TAGS_GENRE_H #include /** * The Genre tag is used to store the name of genres added * to the tag database. */ struct genre : public GenericTag { public: genre(); /**< Genre tag constructor. */ /** * Genre tag constructor. * * @param name Genre name. */ genre(const std::string &); }; namespace tags { /** Called to read the genre_db from disk. */ void init_genre_db(); } /* Called to find a genre tag by name. */ struct genre *genre_find(const std::string &); /* Called to get a genre tag with a specific index. */ struct genre *genre_get(const unsigned int); #endif /* OCARINA_CORE_TAGS_GENRE_H */