mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 18:48:22 +00:00
Update IAppSystem
This commit is contained in:
parent
ac5ed20c68
commit
0ef5c3c951
@ -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 ); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user