1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00

Fix incorrect placement of IFileSystem::ReadLine

This commit is contained in:
GAMMACASE 2023-12-21 20:14:08 +03:00
parent 0fa7284619
commit c002d23f81

View File

@ -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<CUtlString> &drives ) = 0;
virtual CUtlString ReadLine( FileHandle_t file, bool bStripNewline = true ) = 0;
virtual void GetSearchPathsForPathID( const char*, GetSearchPathTypes_t, CUtlVector<CUtlString> & ) = 0;
virtual void MarkContentCorrupt( bool bMissingFilesOnly, const char* pFile ) = 0;