mirror of
https://github.com/taglib/taglib.git
synced 2025-11-14 13:42:47 -05:00
Rename the functions 'isValidStream' to 'isSupported'.
The name 'isValidStream' is a little misleading because it doesn't check if the stream is really valid. Additionally, 'isSupported' can be naturally overloaded.
This commit is contained in:
@ -75,7 +75,7 @@ public:
|
||||
// static members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool WavPack::File::isValidStream(IOStream *stream)
|
||||
bool WavPack::File::isSupported(IOStream *stream)
|
||||
{
|
||||
// A WavPack file has to start with "wvpk".
|
||||
|
||||
|
||||
@ -206,7 +206,7 @@ namespace TagLib {
|
||||
* \note This method is designed to do a quick check. The result may
|
||||
* not necessarily be correct.
|
||||
*/
|
||||
static bool isValidStream(IOStream *stream);
|
||||
static bool isSupported(IOStream *stream);
|
||||
|
||||
private:
|
||||
File(const File &);
|
||||
|
||||
Reference in New Issue
Block a user