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:
Tsuda Kageyu
2017-02-07 22:36:56 +09:00
parent d4d8410c08
commit f76b1e5429
29 changed files with 43 additions and 43 deletions

View File

@ -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".

View File

@ -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 &);