mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Update ICommandLine and IAppSystem (#43)
* Added missing virtual functions * More missing virtual functions
This commit is contained in:

committed by
Nicholas Hastings

parent
344b15617b
commit
7f7f0c16af
@ -76,6 +76,9 @@ public:
|
||||
|
||||
// Reconnect to a particular interface
|
||||
virtual void Reconnect( CreateInterfaceFn factory, const char *pInterfaceName ) = 0;
|
||||
|
||||
// Returns whether or not the app system is a singleton
|
||||
virtual bool IsSingleton() = 0;
|
||||
};
|
||||
|
||||
|
||||
@ -105,6 +108,8 @@ public:
|
||||
{
|
||||
ReconnectInterface( factory, pInterfaceName );
|
||||
}
|
||||
|
||||
virtual bool IsSingleton() { return true; }
|
||||
};
|
||||
|
||||
|
||||
|
@ -95,6 +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 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 ); }
|
||||
|
@ -25,6 +25,7 @@ public:
|
||||
|
||||
// Check whether a particular parameter exists
|
||||
virtual const char *CheckParm( const char *psz, const char **ppszValue = 0 ) const = 0;
|
||||
virtual bool HasParm( const char *parm ) const = 0;
|
||||
virtual void RemoveParm( const char *parm ) = 0;
|
||||
virtual void AppendParm( const char *pszParm, const char *pszValues ) = 0;
|
||||
|
||||
@ -40,6 +41,8 @@ public:
|
||||
|
||||
// copies the string passwed
|
||||
virtual void SetParm( int nIndex, char const *pNewParm ) =0;
|
||||
|
||||
virtual const char** GetParms() const = 0;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user