add RageFileManager::GetLoadedDrivers

This commit is contained in:
Glenn Maynard
2004-03-15 03:05:55 +00:00
parent 35f1480e2a
commit 3b332a04ef
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -352,6 +352,18 @@ bool RageFileManager::MountpointIsReady( CString MountPoint )
return false;
}
void RageFileManager::GetLoadedDrivers( vector<DriverLocation> &Mounts )
{
for( unsigned i = 0; i < g_Drivers.size(); ++i )
{
DriverLocation l;
l.MountPoint = g_Drivers[i].MountPoint;
l.Type = g_Drivers[i].Type;
l.Root = g_Drivers[i].Root;
Mounts.push_back( l );
}
}
void RageFileManager::FlushDirCache( const CString &sPath )
{
LockMut( *g_Mutex );