allow VFS drivers to register themselves

This commit is contained in:
Glenn Maynard
2004-02-10 23:39:45 +00:00
parent e2e692f77a
commit 1b69bfdff9
6 changed files with 54 additions and 11 deletions
+6
View File
@@ -72,6 +72,12 @@ freely, subject to the following restrictions:
#define INBUFSIZE 1024*4
static struct FileDriverEntry_ZIP: public FileDriverEntry
{
FileDriverEntry_ZIP(): FileDriverEntry( "ZIP" ) { }
RageFileDriver *Create( CString Root ) const { return new RageFileDriverZip( Root ); }
} const g_RegisterDriver;
struct FileInfo
{
CString fn;