Made im/export functions nonvirtual. Added similar functions to File and

its subclasses. TagLib::File contains a bunch of dynamic_casts to call
the correct specializations.
This commit is contained in:
Michael Helmling
2011-08-28 22:58:40 +02:00
parent fa8159a9d0
commit 5647b2e293
20 changed files with 297 additions and 9 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ namespace TagLib {
* of the specific metadata format into a "human-readable" map of strings
* to lists of strings, being as precise as possible.
*/
virtual TagDict toDict() const;
TagDict toDict() const;
/*!
* Unified tag dictionary interface -- import function. Converts a map
@@ -72,7 +72,7 @@ namespace TagLib {
* be lost by this operation. Especially the default implementation handles
* only single values of the default tags specified in this class.
*/
virtual void fromDict(const TagDict &);
void fromDict(const TagDict &);
/*!
* Returns the track name; if no track name is present in the tag