mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-09 11:38:22 +00:00
Updated IFileSystem interface (bug 4509).
This commit is contained in:
parent
1ddbadb072
commit
3b4ae7caee
@ -361,7 +361,7 @@ public:
|
|||||||
|
|
||||||
// This is the minimal interface that can be implemented to provide access to
|
// This is the minimal interface that can be implemented to provide access to
|
||||||
// a named set of files.
|
// a named set of files.
|
||||||
#define BASEFILESYSTEM_INTERFACE_VERSION "VBaseFileSystem011"
|
#define BASEFILESYSTEM_INTERFACE_VERSION "VBaseFileSystem012"
|
||||||
|
|
||||||
abstract_class IBaseFileSystem
|
abstract_class IBaseFileSystem
|
||||||
{
|
{
|
||||||
@ -512,6 +512,8 @@ public:
|
|||||||
FileFindHandle_t *pHandle
|
FileFindHandle_t *pHandle
|
||||||
) = 0;
|
) = 0;
|
||||||
|
|
||||||
|
virtual void FindFileAbsoluteList( CUtlVector<CUtlString> &, const char *, const char * ) = 0;
|
||||||
|
|
||||||
//--------------------------------------------------------
|
//--------------------------------------------------------
|
||||||
// File name and directory operations
|
// File name and directory operations
|
||||||
//--------------------------------------------------------
|
//--------------------------------------------------------
|
||||||
|
|||||||
@ -236,6 +236,7 @@ public:
|
|||||||
virtual FSDirtyDiskReportFunc_t GetDirtyDiskReportFunc() { return m_pFileSystemPassThru->GetDirtyDiskReportFunc(); }
|
virtual FSDirtyDiskReportFunc_t GetDirtyDiskReportFunc() { return m_pFileSystemPassThru->GetDirtyDiskReportFunc(); }
|
||||||
virtual int AddVPKFile( const char *file, SearchPathAdd_t path ) { return m_pFileSystemPassThru->AddVPKFile(file, path); }
|
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 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:
|
protected:
|
||||||
IFileSystem *m_pFileSystemPassThru;
|
IFileSystem *m_pFileSystemPassThru;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user