From 948beec597f788bc661bf7869d4ab27945215e53 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 10 May 2010 09:37:17 +0000 Subject: (svn r19777) -Change: use the file scanner to find the .tars --- src/fileio_func.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/fileio_func.h') diff --git a/src/fileio_func.h b/src/fileio_func.h index 53b3aa233..05253b432 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -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) -- cgit v1.2.3-54-g00ecf