1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00

Updated IFileSystem.

This commit is contained in:
Nicholas Hastings 2013-03-01 13:44:20 -05:00
parent 84620eccb6
commit f2baaa8b15
2 changed files with 11 additions and 0 deletions

View File

@ -538,6 +538,12 @@ public:
FileFindHandle_t *pHandle
) = 0;
virtual void FindFileAbsoluteList(
CUtlVector<CUtlString> &output,
const char *pWildCard,
const char *pPathID
) = 0;
//--------------------------------------------------------
// File name and directory operations
//--------------------------------------------------------

View File

@ -165,6 +165,11 @@ public:
const char *pPathID,
FileFindHandle_t *pHandle
) { return m_pFileSystemPassThru->FindFirstEx( pWildCard, pPathID, pHandle ); }
virtual void FindFileAbsoluteList(
CUtlVector<CUtlString> &output,
const char *pWildCard,
const char *pPathID
) { m_pFileSystemPassThru->FindFileAbsoluteList( output, pWildCard, pPathID ); }
virtual void MarkPathIDByRequestOnly( const char *pPathID, bool bRequestOnly ) { m_pFileSystemPassThru->MarkPathIDByRequestOnly( pPathID, bRequestOnly ); }
virtual bool AddPackFile( const char *fullpath, const char *pathID ) { return m_pFileSystemPassThru->AddPackFile( fullpath, pathID ); }
virtual FSAsyncStatus_t AsyncAppend(const char *pFileName, const void *pSrc, int nSrcBytes, bool bFreeMemory, FSAsyncControl_t *pControl ) { return m_pFileSystemPassThru->AsyncAppend( pFileName, pSrc, nSrcBytes, bFreeMemory, pControl); }