An implementation of TagLib::File with Mod specific methods. More...
#include <modfile.h>
An implementation of TagLib::File with Mod specific methods.
This implements and provides an interface for Mod files to the TagLib::Tag and TagLib::AudioProperties interfaces by way of implementing the abstract TagLib::File API as well as providing some additional information specific to Mod files.
TagLib::Mod::File::File | ( | FileName | file, |
bool | readProperties = true , |
||
AudioProperties::ReadStyle | propertiesStyle = AudioProperties::Average |
||
) |
Constructs a Protracker file from file.
TagLib::Mod::File::File | ( | IOStream * | stream, |
bool | readProperties = true , |
||
AudioProperties::ReadStyle | propertiesStyle = AudioProperties::Average |
||
) |
|
overridevirtual |
Destroys this instance of the File.
Reimplemented from TagLib::File.
|
overridevirtual |
Returns the Mod::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
|
overridevirtual |
Implements the unified property interface – export function. Forwards to Mod::Tag::properties().
Reimplemented from TagLib::File.
|
overridevirtual |
Save the file. This is the same as calling save(AllTags);
Implements TagLib::File.
|
overridevirtual |
Implements the unified property interface – import function. Forwards to Mod::Tag::setProperties().
Reimplemented from TagLib::File.
|
overridevirtual |
Returns a pointer to this file's tag. This should be reimplemented in the concrete subclasses.
Implements TagLib::File.