| 46 | } |
| 47 | |
| 48 | FileEnumerator::FileEnumerator(const String& dirPath, Flags flags) |
| 49 | { |
| 50 | mDirPath = dirPath; |
| 51 | mFindData = BfpFindFileData_FindFirstFile((dirPath + "/*.*").c_str(), (BfpFindFileFlags)flags, NULL); |
| 52 | mFlags = flags; |
| 53 | if (mFindData != NULL) |
| 54 | mIdx = 0; |
| 55 | else |
| 56 | mIdx = -1; |
| 57 | } |
| 58 | |
| 59 | FileEnumerator::~FileEnumerator() |
| 60 | { |
nothing calls this directly
no test coverage detected