taglib: Remove unused functions + add virtual and explicit
This commit is contained in:
6
3rdparty/taglib/s3m/s3mfile.h
vendored
6
3rdparty/taglib/s3m/s3mfile.h
vendored
@@ -45,7 +45,7 @@ class TAGLIB_EXPORT File : public Mod::FileBase {
|
||||
* \note In the current implementation, both \a readProperties and
|
||||
* \a propertiesStyle are ignored. The audio properties are always read.
|
||||
*/
|
||||
File(FileName file, bool readProperties = true, AudioProperties::ReadStyle propertiesStyle = AudioProperties::Average);
|
||||
explicit File(FileName file, bool readProperties = true, AudioProperties::ReadStyle propertiesStyle = AudioProperties::Average);
|
||||
|
||||
/*!
|
||||
* Constructs a ScreamTracker III file from \a stream.
|
||||
@@ -55,7 +55,7 @@ class TAGLIB_EXPORT File : public Mod::FileBase {
|
||||
*
|
||||
* \note TagLib will *not* take ownership of the stream, the caller is responsible for deleting it after the File object.
|
||||
*/
|
||||
File(IOStream *stream, bool readProperties = true, AudioProperties::ReadStyle propertiesStyle = AudioProperties::Average);
|
||||
explicit File(IOStream *stream, bool readProperties = true, AudioProperties::ReadStyle propertiesStyle = AudioProperties::Average);
|
||||
|
||||
/*!
|
||||
* Destroys this instance of the File.
|
||||
@@ -91,7 +91,7 @@ class TAGLIB_EXPORT File : public Mod::FileBase {
|
||||
bool save();
|
||||
|
||||
private:
|
||||
File(const File &);
|
||||
explicit File(const File &);
|
||||
File &operator=(const File &);
|
||||
|
||||
void read(bool readProperties);
|
||||
|
||||
6
3rdparty/taglib/s3m/s3mproperties.h
vendored
6
3rdparty/taglib/s3m/s3mproperties.h
vendored
@@ -48,7 +48,7 @@ class TAGLIB_EXPORT AudioProperties : public Strawberry_TagLib::TagLib::AudioPro
|
||||
CustomData = 128
|
||||
};
|
||||
|
||||
AudioProperties(AudioProperties::ReadStyle propertiesStyle);
|
||||
explicit AudioProperties(AudioProperties::ReadStyle propertiesStyle);
|
||||
virtual ~AudioProperties();
|
||||
|
||||
int lengthInSeconds() const;
|
||||
@@ -84,8 +84,8 @@ class TAGLIB_EXPORT AudioProperties : public Strawberry_TagLib::TagLib::AudioPro
|
||||
void setBpmSpeed(unsigned char bpmSpeed);
|
||||
|
||||
private:
|
||||
AudioProperties(const AudioProperties &);
|
||||
AudioProperties &operator=(const AudioProperties &);
|
||||
explicit AudioProperties(const AudioProperties&);
|
||||
AudioProperties &operator=(const AudioProperties&);
|
||||
|
||||
class AudioPropertiesPrivate;
|
||||
AudioPropertiesPrivate *d;
|
||||
|
||||
Reference in New Issue
Block a user