12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #ifndef _RECURSEDIR_H
- #define _RECURSEDIR_H
- #include <bfc/wasabi_std.h>
- #include <bfc/ptrlist.h>
- #include <bfc/common.h>
- #include <bfc/file/readdir.h>
- class ReadDir;
- class RecurseDir {
- public:
-
- RecurseDir(const wchar_t *path, const wchar_t *match=NULL);
-
-
- ~RecurseDir();
-
- int next();
-
-
- int restart();
-
- const wchar_t *getPath();
-
-
- const wchar_t *getFilename();
- const wchar_t *getOriginalPath();
- private:
- StringW path, match;
- ReadDir *curdir;
- PtrList<ReadDir> dirstack;
- };
- #endif
|