1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-03 16:13:22 +08:00

Updated IFileSystem interface (bug 4509).

This commit is contained in:
Scott Ehlert 2010-07-09 23:25:01 -04:00
parent 1ddbadb072
commit 3b4ae7caee
2 changed files with 4 additions and 1 deletions

View File

@ -361,7 +361,7 @@ public:
// This is the minimal interface that can be implemented to provide access to
// a named set of files.
#define BASEFILESYSTEM_INTERFACE_VERSION "VBaseFileSystem011"
#define BASEFILESYSTEM_INTERFACE_VERSION "VBaseFileSystem012"
abstract_class IBaseFileSystem
{
@ -512,6 +512,8 @@ public:
FileFindHandle_t *pHandle
) = 0;
virtual void FindFileAbsoluteList( CUtlVector<CUtlString> &, const char *, const char * ) = 0;
//--------------------------------------------------------
// File name and directory operations
//--------------------------------------------------------

View File

@ -236,6 +236,7 @@ public:
virtual FSDirtyDiskReportFunc_t GetDirtyDiskReportFunc() { return m_pFileSystemPassThru->GetDirtyDiskReportFunc(); }
virtual int AddVPKFile( const char *file, SearchPathAdd_t path ) { return m_pFileSystemPassThru->AddVPKFile(file, path); }
virtual bool IsLocalizedPath ( const char *path ) { return m_pFileSystemPassThru->IsLocalizedPath(path); }
virtual void FindFileAbsoluteList( CUtlVector<CUtlString> &a, const char *b, const char *c ) { m_pFileSystemPassThru->FindFileAbsoluteList(a, b, c); }
protected:
IFileSystem *m_pFileSystemPassThru;
};