Network server mode accepts multiple connections

This commit is contained in:
Chris Danford
2002-11-08 08:17:59 +00:00
parent 6dcd870c1b
commit 24ce24bbc1
5 changed files with 95 additions and 38 deletions
+9
View File
@@ -635,3 +635,12 @@ bool SongManager::ChooseRandomSong()
return false;
}
Song* SongManager::GetSongFromPath( const CString &sSongPath )
{
for( unsigned int i=0; i<m_pSongs.size(); i++ )
if( sSongPath.CompareNoCase(m_pSongs[i]->GetSongFilePath()) == 0 )
return m_pSongs[i];
return NULL;
}