(svn r19777) -Change: use the file scanner to find the .tars

This commit is contained in:
rubidium
2010-05-10 09:37:17 +00:00
parent 8a2fecbff5
commit 948beec597
3 changed files with 23 additions and 64 deletions

View File

@@ -87,6 +87,14 @@ public:
virtual bool AddFile(const char *filename, size_t basepath_length) = 0;
};
/** Helper for scanning for files with tar as extension */
class TarScanner : FileScanner {
public:
/* virtual */ bool AddFile(const char *filename, size_t basepath_length);
/** Do the scan for Tars. */
static uint DoScan();
};
/* Implementation of opendir/readdir/closedir for Windows */
#if defined(WIN32)