mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-08 11:08:23 +00:00
Updated IAppSystem and ICommandLine.
This commit is contained in:
parent
b4f7c7966a
commit
334e8f97b8
@ -77,8 +77,8 @@ public:
|
||||
// Reconnect to a particular interface
|
||||
virtual void Reconnect( CreateInterfaceFn factory, const char *pInterfaceName ) = 0;
|
||||
|
||||
// New in Dota. Seems to do nothing but return true in most or all cases.
|
||||
virtual bool UnknownFunc1() = 0;
|
||||
// Returns whether or not the app system is a singleton
|
||||
virtual bool IsSingleton() = 0;
|
||||
};
|
||||
|
||||
|
||||
@ -108,6 +108,8 @@ public:
|
||||
{
|
||||
ReconnectInterface( factory, pInterfaceName );
|
||||
}
|
||||
|
||||
virtual bool IsSingleton() { return true; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -95,7 +95,7 @@ public:
|
||||
virtual const AppSystemInfo_t* GetDependencies() { return m_pFileSystemPassThru->GetDependencies(); }
|
||||
virtual AppSystemTier_t GetTier() { return m_pFileSystemPassThru->GetTier(); }
|
||||
virtual void Reconnect( CreateInterfaceFn factory, const char *pInterfaceName ) { m_pFileSystemPassThru->Reconnect( factory, pInterfaceName ); }
|
||||
virtual bool UnknownFunc1() { return m_pFileSystemPassThru->UnknownFunc1(); }
|
||||
virtual bool IsSingleton() { return m_pFileSystemPassThru->IsSingleton(); }
|
||||
|
||||
virtual void RemoveAllSearchPaths( void ) { m_pFileSystemPassThru->RemoveAllSearchPaths(); }
|
||||
virtual void AddSearchPath( const char *pPath, const char *pathID, SearchPathAdd_t addType ) { m_pFileSystemPassThru->AddSearchPath( pPath, pathID, addType ); }
|
||||
|
||||
@ -42,6 +42,10 @@ public:
|
||||
|
||||
// copies the string passwed
|
||||
virtual void SetParm( int nIndex, char const *pNewParm ) =0;
|
||||
|
||||
virtual void RemoveParmByIndex( int nIndex ) = 0;
|
||||
virtual void CreateCmdLinePrependAppName( const char *commandline ) = 0;
|
||||
virtual const char **GetParms() const = 0;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user