// public members
////////////////////////////////////////////////////////////////////////////////
-APE::File::File(FileName file, bool readProperties,
- Properties::ReadStyle propertiesStyle) : TagLib::File(file)
+APE::File::File(FileName file, bool readProperties, Properties::ReadStyle) :
+ TagLib::File(file),
+ d(new FilePrivate())
{
- d = new FilePrivate;
if(isOpen())
- read(readProperties, propertiesStyle);
+ read(readProperties);
}
-APE::File::File(IOStream *stream, bool readProperties,
- Properties::ReadStyle propertiesStyle) : TagLib::File(stream)
+APE::File::File(IOStream *stream, bool readProperties, Properties::ReadStyle) :
+ TagLib::File(stream),
+ d(new FilePrivate())
{
- d = new FilePrivate;
if(isOpen())
- read(readProperties, propertiesStyle);
+ read(readProperties);
}
APE::File::~File()
// private members
////////////////////////////////////////////////////////////////////////////////
-void APE::File::read(bool readProperties, Properties::ReadStyle /* propertiesStyle */)
+void APE::File::read(bool readProperties)
{
// Look for an ID3v2 tag
File(const File &);
File &operator=(const File &);
- void read(bool readProperties, Properties::ReadStyle propertiesStyle);
+ void read(bool readProperties);
long findAPE();
long findID3v1();
long findID3v2();
// public members
////////////////////////////////////////////////////////////////////////////////
-APE::Properties::Properties(File *file, ReadStyle style) :
+APE::Properties::Properties(File *, ReadStyle style) :
AudioProperties(style),
d(new PropertiesPrivate())
{