taglib: Fix some formatting

This commit is contained in:
Jonas Kvinge
2020-06-22 03:11:35 +02:00
parent 248e487dd5
commit 00369a2cfe
3 changed files with 11 additions and 11 deletions

View File

@@ -40,9 +40,11 @@
using namespace Strawberry_TagLib::TagLib; using namespace Strawberry_TagLib::TagLib;
namespace { namespace {
enum { ID3v2Index = 0, enum {
ID3v2Index = 0,
APEIndex = 1, APEIndex = 1,
ID3v1Index = 2 }; ID3v1Index = 2
};
} }
class MPEG::File::FilePrivate { class MPEG::File::FilePrivate {

View File

@@ -184,9 +184,7 @@ class TAGLIB_EXPORT File {
* \note This has the practical limitation that \a pattern can not be longer * \note This has the practical limitation that \a pattern can not be longer
* than the buffer size used by readBlock(). Currently this is 1024 bytes. * than the buffer size used by readBlock(). Currently this is 1024 bytes.
*/ */
long rfind(const ByteVector &pattern, long rfind(const ByteVector &pattern, long fromOffset = 0, const ByteVector &before = ByteVector());
long fromOffset = 0,
const ByteVector &before = ByteVector());
/*! /*!
* Insert \a data at position \a start in the file overwriting \a replace bytes of the original content. * Insert \a data at position \a start in the file overwriting \a replace bytes of the original content.
@@ -248,7 +246,7 @@ class TAGLIB_EXPORT File {
* *
* \note Constructor is protected since this class should only be instantiated through subclasses. * \note Constructor is protected since this class should only be instantiated through subclasses.
*/ */
explicit File(FileName file); explicit File(const FileName fileName);
/*! /*!
* Construct a File object and use the \a stream instance. * Construct a File object and use the \a stream instance.