[dota] Update filesystem interface (#47)

* [dota] Update filesystem interface

* Remove commented out lines completely
This commit is contained in:
StanR 2018-12-10 16:18:38 +03:00 committed by Nicholas Hastings
parent 98325355d2
commit ac8b4718ba
2 changed files with 1 additions and 17 deletions

View File

@ -448,20 +448,6 @@ public:
abstract_class IFileSystem : public IAppSystem, public IBaseFileSystem
{
public:
//--------------------------------------------------------
// Steam operations
//--------------------------------------------------------
virtual bool IsSteam() const = 0;
// Supplying an extra app id will mount this app in addition
// to the one specified in the environment variable "steamappid"
//
// If nExtraAppId is < -1, then it will mount that app ID only.
// (Was needed by the dedicated server b/c the "SteamAppId" env var only gets passed to steam.dll
// at load time, so the dedicated couldn't pass it in that way).
virtual FilesystemMountRetval_t MountSteamContent( int nExtraAppId = -1 ) = 0;
//--------------------------------------------------------
// Search path manipulation
//--------------------------------------------------------

View File

@ -167,8 +167,6 @@ public:
virtual bool String( const FileNameHandle_t& handle, char *buf, int buflen ) { return m_pFileSystemPassThru->String( handle, buf, buflen ); }
virtual bool IsOk2( FileHandle_t file ) { return IsOk(file); }
virtual void RemoveSearchPaths( const char *szPathID ) { m_pFileSystemPassThru->RemoveSearchPaths( szPathID ); }
virtual bool IsSteam() const { return m_pFileSystemPassThru->IsSteam(); }
virtual FilesystemMountRetval_t MountSteamContent( int nExtraAppId = -1 ) { return m_pFileSystemPassThru->MountSteamContent( nExtraAppId ); }
virtual const char *FindFirstEx(
const char *pWildCard,
@ -183,7 +181,7 @@ public:
virtual void MarkPathIDByRequestOnly( const char *pPathID, bool bRequestOnly ) { m_pFileSystemPassThru->MarkPathIDByRequestOnly( pPathID, bRequestOnly ); }
virtual void Unknown1(const char *a1, void *a2) {};
virtual void Unknown2(void *a1, void *a2, void *a3, char *a4) {};
virtual const char *Unknown3(void *a1, void *a2, void *a3, int a4, char *a5, double a6) {};
virtual const char *Unknown3(void *a1, void *a2, void *a3, int a4, char *a5, double a6) { return NULL; };
virtual void Unknown4() {};
virtual void Unknown5(void *a1, int a2, int *a3) {};
virtual void Unknown6() {};