| 25 | }; |
| 26 | |
| 27 | class FindFile |
| 28 | { |
| 29 | private: |
| 30 | #ifdef _WIN_ALL |
| 31 | static HANDLE Win32Find(HANDLE hFind,const wchar *Mask,FindData *fd); |
| 32 | #endif |
| 33 | |
| 34 | wchar FindMask[NM]; |
| 35 | bool FirstCall; |
| 36 | #ifdef _WIN_ALL |
| 37 | HANDLE hFind; |
| 38 | #else |
| 39 | DIR *dirp; |
| 40 | #endif |
| 41 | public: |
| 42 | FindFile(); |
| 43 | ~FindFile(); |
| 44 | void SetMask(const wchar *Mask); |
| 45 | bool Next(FindData *fd,bool GetSymLink=false); |
| 46 | static bool FastFind(const wchar *FindMask,FindData *fd,bool GetSymLink=false); |
| 47 | }; |
| 48 | |
| 49 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected