mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Update IFileSystem to add missing function.
This commit is contained in:
parent
e7165f8f0d
commit
a36308b0bf
@ -314,6 +314,8 @@ public:
|
||||
|
||||
// create a local directory structure
|
||||
virtual void CreateDirHierarchy( const char *path, const char *pathID = 0 ) = 0;
|
||||
|
||||
virtual bool UnknownFunc1( const char *path, const char *pathID = 0 ) = 0;
|
||||
|
||||
// File I/O and info
|
||||
virtual bool IsDirectory( const char *pFileName, const char *pathID = 0 ) = 0;
|
||||
|
@ -107,6 +107,7 @@ public:
|
||||
virtual void RemoveFile( char const* pRelativePath, const char *pathID ) { m_pFileSystemPassThru->RemoveFile( pRelativePath, pathID ); }
|
||||
virtual void RenameFile( char const *pOldPath, char const *pNewPath, const char *pathID ) { m_pFileSystemPassThru->RenameFile( pOldPath, pNewPath, pathID ); }
|
||||
virtual void CreateDirHierarchy( const char *path, const char *pathID ) { m_pFileSystemPassThru->CreateDirHierarchy( path, pathID ); }
|
||||
virtual bool UnknownFunc1( const char *path, const char *pathID ) { return m_pFileSystemPassThru->UnknownFunc1( path, pathID ); }
|
||||
virtual bool IsDirectory( const char *pFileName, const char *pathID ) { return m_pFileSystemPassThru->IsDirectory( pFileName, pathID ); }
|
||||
virtual void FileTimeToString( char* pStrip, int maxCharsIncludingTerminator, long fileTime ) { m_pFileSystemPassThru->FileTimeToString( pStrip, maxCharsIncludingTerminator, fileTime ); }
|
||||
virtual void SetBufferSize( FileHandle_t file, unsigned nBytes ) { m_pFileSystemPassThru->SetBufferSize( file, nBytes ); }
|
||||
|
Loading…
Reference in New Issue
Block a user