mirror of
https://github.com/taglib/taglib.git
synced 2026-08-14 06:17:00 -04:00
Provide properties methods on FileRef, make FileRef non-virtual
Use of FileRef::file() is discouraged, but was necessary to access the properties. It was also not clear whether to access the properties via tag() or file(). With the property methods on FileRef, it should become the "simple usage" interface it was meant to be. As the destructor was the only virtual method on FileRef, it is now made non-virtual. Probably, it is not useful as a virtual base class.
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ namespace TagLib {
|
||||
/*!
|
||||
* Set all complex properties for a given \a key using variant maps as
|
||||
* \a value with the same format as returned by complexProperties().
|
||||
* An empty list as \a value to removes all complex properties for \a key.
|
||||
* An empty list as \a value removes all complex properties for \a key.
|
||||
*/
|
||||
virtual bool setComplexProperties(const String &key, const List<VariantMap> &value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user