ID3 interface complete; vorbis done; wav done

This commit is contained in:
Michael Helmling
2012-02-14 21:27:14 +01:00
parent a8632f710f
commit d2c43d7174
21 changed files with 238 additions and 233 deletions

View File

@ -92,16 +92,6 @@ Ogg::XiphComment *Ogg::FLAC::File::tag() const
return d->comment;
}
TagLib::TagDict Ogg::FLAC::File::toDict(void) const
{
return d->comment->toDict();
}
void Ogg::FLAC::File::fromDict(const TagDict &dict)
{
d->comment->fromDict(dict);
}
Properties *Ogg::FLAC::File::audioProperties() const
{
return d->properties;

View File

@ -89,18 +89,6 @@ namespace TagLib {
*/
virtual XiphComment *tag() const;
/*!
* Implements the unified tag dictionary interface -- export function.
* Returns the contents of the Ogg::XiphComment as TagDict.
*/
TagDict toDict() const;
/*!
* Implements the unified tag dictionary interface -- import function.
* Matches the TagDict's contents to the XiphComment of the file.
*/
void fromDict(const TagDict &);
/*!
* Returns the FLAC::Properties for this file. If no audio properties
* were read then this will return a null pointer.

View File

@ -82,16 +82,6 @@ Ogg::XiphComment *Speex::File::tag() const
return d->comment;
}
TagLib::TagDict Ogg::Speex::File::toDict(void) const
{
return d->comment->toDict();
}
void Ogg::Speex::File::fromDict(const TagDict &dict)
{
d->comment->fromDict(dict);
}
Speex::Properties *Speex::File::audioProperties() const
{
return d->properties;

View File

@ -82,17 +82,6 @@ namespace TagLib {
* TagLib::File::tag().
*/
virtual Ogg::XiphComment *tag() const;
/*!
* Implements the unified tag dictionary interface -- export function.
* Returns the contents of the Ogg::XiphComment as TagDict.
*/
TagDict toDict() const;
/*!
* Implements the unified tag dictionary interface -- import function.
* Matches the TagDict's contents to the XiphComment of the file.
*/
void fromDict(const TagDict &);
/*!
* Returns the Speex::Properties for this file. If no audio properties

View File

@ -85,14 +85,14 @@ Ogg::XiphComment *Vorbis::File::tag() const
return d->comment;
}
TagLib::TagDict Ogg::Vorbis::File::toDict(void) const
PropertyMap Vorbis::File::properties() const
{
return d->comment->toDict();
return d->comment->properties();
}
void Ogg::Vorbis::File::fromDict(const TagDict &dict)
PropertyMap Vorbis::File::setProperties(const PropertyMap &properties)
{
d->comment->fromDict(dict);
return d->comment->setProperties(properties);
}
Vorbis::Properties *Vorbis::File::audioProperties() const

View File

@ -90,17 +90,19 @@ namespace TagLib {
*/
virtual Ogg::XiphComment *tag() const;
/*!
* Implements the unified tag dictionary interface -- export function.
* Returns the contents of the Ogg::XiphComment as TagDict.
* Implements the unified property interface -- export function.
* This forwards directly to XiphComment::properties().
*/
TagDict toDict() const;
PropertyMap properties() const;
/*!
* Implements the unified tag dictionary interface -- import function.
* Matches the TagDict's contents to the XiphComment of the file.
* Like properties(), this is a forwarder to the file's XiphComment.
*/
void fromDict(const TagDict &);
PropertyMap setProperties(const PropertyMap &);
/*!
* Returns the Vorbis::Properties for this file. If no audio properties
* were read then this will return a null pointer.