(svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory).

This commit is contained in:
rubidium
2009-03-04 00:17:51 +00:00
parent 9e3449ecc9
commit fb978c04b1
2 changed files with 9 additions and 8 deletions

View File

@@ -73,8 +73,8 @@ public:
/** Destruct the proper one... */
virtual ~FileScanner() {}
uint Scan(const char *extension, Subdirectory sd, bool tars = true);
uint Scan(const char *extension, const char *directory);
uint Scan(const char *extension, Subdirectory sd, bool tars = true, bool recursive = true);
uint Scan(const char *extension, const char *directory, bool recursive = true);
/**
* Add a file with the given filename.