23 #ifndef __MUSICBRAINZ3_UTILS_H__ 24 #define __MUSICBRAINZ3_UTILS_H__
std::string getLanguageName(const std::string &id)
Returns a language name based on an ISO-639-2/T code.
std::string getCountryName(const std::string &id)
Returns a country's name based on an ISO-3166 country code.
std::string extractFragment(const std::string &uriStr)
Extract the fragment part from a URI.
std::string extractUuid(const std::string &uriStr)
Extract the UUID part from a MusicBrainz identifier.
std::string getReleaseTypeName(const std::string &releaseType)
Returns the name of a release type URI.
std::string getScriptName(const std::string &id)
Returns a script name based on an ISO-15924 code.
#define MB_API
Definition: defines.h:40