From a36308b0bfdf09dcf9df009edab72f6c8d33d495 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 11 Jan 2015 11:44:21 -0500 Subject: [PATCH] Update IFileSystem to add missing function. --- public/filesystem.h | 2 ++ public/filesystem_passthru.h | 1 + 2 files changed, 3 insertions(+) diff --git a/public/filesystem.h b/public/filesystem.h index f37b2e18..9a4812f1 100644 --- a/public/filesystem.h +++ b/public/filesystem.h @@ -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; diff --git a/public/filesystem_passthru.h b/public/filesystem_passthru.h index a3d6bfb4..a8df5668 100644 --- a/public/filesystem_passthru.h +++ b/public/filesystem_passthru.h @@ -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 ); }