// public members
////////////////////////////////////////////////////////////////////////////////
+FileRef::FileTypeResolver::~FileTypeResolver()
+{
+}
+
FileRef::FileRef()
{
d = new FileRefPrivate(0);
return new FLAC::File(fileName, readAudioProperties, audioPropertiesStyle);
if(s.substr(s.size() - 4, 4).upper() == ".MPC")
return new MPC::File(fileName, readAudioProperties, audioPropertiesStyle);
- }
+ }
return 0;
}
class TAGLIB_EXPORT FileRef
{
public:
-
+
//! A class for pluggable file type resolution.
/*!
class FileTypeResolver
{
public:
+ /*!
+ * Destroys this FileTypeResolver instance.
+ */
+ virtual ~FileTypeResolver();
/*!
* This method must be overridden to provide an additional file type
* resolver. If the resolver is able to determine the file type it should
// StringHandler implementation
////////////////////////////////////////////////////////////////////////////////
+ID3v1::StringHandler::~StringHandler()
+{
+}
+
String ID3v1::StringHandler::parse(const ByteVector &data) const
{
return String(data, String::Latin1).stripWhiteSpace();
class StringHandler
{
public:
+ /*!
+ * Destroys this StringHandler instance.
+ */
+ virtual ~StringHandler();
/*!
* Decode a string from \a data. The default implementation assumes that
* \a data is an ISO-8859-1 (Latin1) character array.