|
|
@ -57,36 +57,36 @@ namespace TagLib {
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Returns the track name; if no track name is present in the tag
|
|
|
|
* Returns the track name; if no track name is present in the tag
|
|
|
|
* String::null will be returned.
|
|
|
|
* a null String will be returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual String title() const { return m_title; }
|
|
|
|
virtual String title() const { return m_title; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Returns the artist name; if no artist name is present in the tag
|
|
|
|
* Returns the artist name; if no artist name is present in the tag
|
|
|
|
* String::null will be returned.
|
|
|
|
* a null String will be returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual String artist() const { return m_artist; }
|
|
|
|
virtual String artist() const { return m_artist; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Returns the album name; if no album name is present in the tag
|
|
|
|
* Returns the album name; if no album name is present in the tag
|
|
|
|
* String::null will be returned.
|
|
|
|
* a null String will be returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual String album() const { return m_album; }
|
|
|
|
virtual String album() const { return m_album; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Returns the track comment; if no comment is present in the tag
|
|
|
|
* Returns the track comment; if no comment is present in the tag
|
|
|
|
* String::null will be returned.
|
|
|
|
* a null String will be returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual String comment() const { return m_comment; }
|
|
|
|
virtual String comment() const { return m_comment; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Returns the genre name; if no genre is present in the tag String::null
|
|
|
|
* Returns the genre name; if no genre is present in the tag a null String
|
|
|
|
* will be returned.
|
|
|
|
* will be returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual String genre() const { return m_genre; }
|
|
|
|
virtual String genre() const { return m_genre; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Returns the composer name; if no composer is present in the tag String::null
|
|
|
|
* Returns the composer name; if no composer is present in the tag a null String
|
|
|
|
* will be returned.
|
|
|
|
* will be returned.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual String composer() const { return m_composer; }
|
|
|
|
virtual String composer() const { return m_composer; }
|
|
|
@ -126,31 +126,31 @@ namespace TagLib {
|
|
|
|
virtual int compilation() const { return m_compilation; }
|
|
|
|
virtual int compilation() const { return m_compilation; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Sets the title to \a s. If \a s is String::null then this value will be
|
|
|
|
* Sets the title to \a s. If \a s is a null String then this value will be
|
|
|
|
* cleared.
|
|
|
|
* cleared.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual void setTitle(const String &s) { m_title = s; }
|
|
|
|
virtual void setTitle(const String &s) { m_title = s; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Sets the artist to \a s. If \a s is String::null then this value will be
|
|
|
|
* Sets the artist to \a s. If \a s is a null String then this value will be
|
|
|
|
* cleared.
|
|
|
|
* cleared.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual void setArtist(const String &s) { m_artist = s; }
|
|
|
|
virtual void setArtist(const String &s) { m_artist = s; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Sets the album to \a s. If \a s is String::null then this value will be
|
|
|
|
* Sets the album to \a s. If \a s is a null String then this value will be
|
|
|
|
* cleared.
|
|
|
|
* cleared.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual void setAlbum(const String &s) { m_album = s; }
|
|
|
|
virtual void setAlbum(const String &s) { m_album = s; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Sets the album to \a s. If \a s is String::null then this value will be
|
|
|
|
* Sets the album to \a s. If \a s is a null String then this value will be
|
|
|
|
* cleared.
|
|
|
|
* cleared.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual void setComment(const String &s) { m_comment = s; }
|
|
|
|
virtual void setComment(const String &s) { m_comment = s; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Sets the genre to \a s. If \a s is String::null then this value will be
|
|
|
|
* Sets the genre to \a s. If \a s is a null String then this value will be
|
|
|
|
* cleared. For tag formats that use a fixed set of genres, the appropriate
|
|
|
|
* cleared. For tag formats that use a fixed set of genres, the appropriate
|
|
|
|
* value will be selected based on a string comparison. A list of available
|
|
|
|
* value will be selected based on a string comparison. A list of available
|
|
|
|
* genres for those formats should be available in that type's
|
|
|
|
* genres for those formats should be available in that type's
|
|
|
@ -184,7 +184,7 @@ namespace TagLib {
|
|
|
|
virtual void setCompilation(bool compilation) { m_compilation = compilation ? 1 : 0; }
|
|
|
|
virtual void setCompilation(bool compilation) { m_compilation = compilation ? 1 : 0; }
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Sets the composer to \a s. If \a s is String::null then this value will
|
|
|
|
* Sets the composer to \a s. If \a s is a null String then this value will
|
|
|
|
* be cleared.
|
|
|
|
* be cleared.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual void setComposer(const String &s) { m_composer = s; }
|
|
|
|
virtual void setComposer(const String &s) { m_composer = s; }
|
|
|
|