| 484 | } |
| 485 | |
| 486 | int OSDir::getFileScanCount() { |
| 487 | if (info) { |
| 488 | return (int)info->nameList.size(); |
| 489 | } |
| 490 | else { |
| 491 | return -1; |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | bool OSDir::getNextFile(OSFile& oFile, const char* fileMask, bool bRecursive) { |
| 496 | #ifdef _WIN32 |