mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-07 09:43:40 +08:00
Fix incorrect placement of IFileSystem::ReadLine
This commit is contained in:
parent
0fa7284619
commit
c002d23f81
@ -559,9 +559,7 @@ public:
|
|||||||
virtual bool IsOk( FileHandle_t file ) = 0;
|
virtual bool IsOk( FileHandle_t file ) = 0;
|
||||||
|
|
||||||
virtual bool EndOfFile( 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 char *ReadLine( char *pOutput, int maxChars, FileHandle_t file ) = 0;
|
||||||
|
|
||||||
virtual int FPrintf( FileHandle_t file, const char *pFormat, ... ) FMTFUNCTION( 3, 4 ) = 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 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 GetSearchPathsForPathID( const char*, GetSearchPathTypes_t, CUtlVector<CUtlString> & ) = 0;
|
||||||
|
|
||||||
virtual void MarkContentCorrupt( bool bMissingFilesOnly, const char* pFile ) = 0;
|
virtual void MarkContentCorrupt( bool bMissingFilesOnly, const char* pFile ) = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user