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
@@ -20,6 +20,12 @@
#include <io.h>
#endif
static struct FileDriverEntry_DIR: public FileDriverEntry
{
FileDriverEntry_DIR(): FileDriverEntry( "DIR" ) { }
RageFileDriver *Create( CString Root ) const { return new RageFileDriverDirect( Root ); }
} const g_RegisterDriver;
/* This driver handles direct file access. */
class DirectFilenameDB: public FilenameDB
{