Make Frame::Header::size(), Frame::headerSize() const

This commit is contained in:
Urs Fleisch 2024-01-01 17:52:59 +01:00
parent fb0f7dfa57
commit 6c1ba88eab
2 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ const String Frame::urlPrefix("URL:");
// public members
////////////////////////////////////////////////////////////////////////////////
unsigned int Frame::headerSize()
unsigned int Frame::headerSize() const
{
return d->header->size();
}
@ -421,7 +421,7 @@ public:
// public members (Frame::Header)
////////////////////////////////////////////////////////////////////////////////
unsigned int Frame::Header::size()
unsigned int Frame::Header::size() const
{
switch(d->version) {
case 0:

View File

@ -85,7 +85,7 @@ namespace TagLib {
/*!
* Returns the size of the frame header
*/
unsigned int headerSize();
unsigned int headerSize() const;
/*!
* Sets the data that will be used as the frame. Since the length is not
@ -360,7 +360,7 @@ namespace TagLib {
/*!
* Returns the size of the frame header in bytes.
*/
unsigned int size();
unsigned int size() const;
/*!
* Returns \c true if the flag for tag alter preservation is set.