Remove deprecated stuff

This commit is contained in:
Urs Fleisch
2023-07-09 07:01:37 +02:00
parent ca8c2e07ec
commit a33cc0635a
66 changed files with 13 additions and 877 deletions
-5
View File
@@ -255,11 +255,6 @@ void MPC::File::strip(int tags)
}
}
void MPC::File::remove(int tags)
{
strip(tags);
}
bool MPC::File::hasID3v1Tag() const
{
return (d->ID3v1Location >= 0);
-6
View File
@@ -194,12 +194,6 @@ namespace TagLib {
*/
void strip(int tags = AllTags);
/*!
* \deprecated Use strip().
* \see strip
*/
TAGLIB_DEPRECATED void remove(int tags = AllTags);
/*!
* Returns whether or not the file on disk actually has an ID3v1 tag.
*
-5
View File
@@ -93,11 +93,6 @@ MPC::Properties::~Properties()
delete d;
}
int MPC::Properties::length() const
{
return lengthInSeconds();
}
int MPC::Properties::lengthInSeconds() const
{
return d->length / 1000;
-10
View File
@@ -67,16 +67,6 @@ namespace TagLib {
*/
virtual ~Properties();
/*!
* Returns the length of the file in seconds. The length is rounded down to
* the nearest whole second.
*
* \note This method is just an alias of lengthInSeconds().
*
* \deprecated Use lengthInSeconds().
*/
TAGLIB_DEPRECATED virtual int length() const;
/*!
* Returns the length of the file in seconds. The length is rounded down to
* the nearest whole second.