mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
This function shouldn't be (implicitly) exported.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@770837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
a79cb4deb9
commit
edc9bc8788
@ -57,17 +57,20 @@ public:
|
||||
Frame::Header *header;
|
||||
};
|
||||
|
||||
bool isValidFrameID(const ByteVector &frameID)
|
||||
namespace
|
||||
{
|
||||
if(frameID.size() != 4) {
|
||||
return false;
|
||||
}
|
||||
for(ByteVector::ConstIterator it = frameID.begin(); it != frameID.end(); it++) {
|
||||
if( (*it < 'A' || *it > 'Z') && (*it < '1' || *it > '9') ) {
|
||||
bool isValidFrameID(const ByteVector &frameID)
|
||||
{
|
||||
if(frameID.size() != 4)
|
||||
return false;
|
||||
|
||||
for(ByteVector::ConstIterator it = frameID.begin(); it != frameID.end(); it++) {
|
||||
if( (*it < 'A' || *it > 'Z') && (*it < '1' || *it > '9') ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user