diff --git a/public/filesystem.h b/public/filesystem.h index dc292dce..63c0be70 100644 --- a/public/filesystem.h +++ b/public/filesystem.h @@ -559,9 +559,7 @@ public: virtual bool IsOk( FileHandle_t file ) = 0; virtual bool EndOfFile( FileHandle_t file ) = 0; -#ifdef PLATFORM_WINDOWS - virtual CUtlString ReadLine(FileHandle_t file, bool bStripNewline = true) = 0; -#endif + virtual char *ReadLine( char *pOutput, int maxChars, FileHandle_t file ) = 0; virtual int FPrintf( FileHandle_t file, const char *pFormat, ... ) FMTFUNCTION( 3, 4 ) = 0; @@ -773,6 +771,8 @@ public: virtual void GetAvailableDrives( CUtlVector &drives ) = 0; + virtual CUtlString ReadLine( FileHandle_t file, bool bStripNewline = true ) = 0; + virtual void GetSearchPathsForPathID( const char*, GetSearchPathTypes_t, CUtlVector & ) = 0; virtual void MarkContentCorrupt( bool bMissingFilesOnly, const char* pFile ) = 0;