Update IAppSystem

This commit is contained in:
Dr!fter 2015-05-15 15:41:41 -04:00
parent ac5ed20c68
commit 0ef5c3c951
2 changed files with 6 additions and 0 deletions

View File

@ -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; }
};

View File

@ -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 ); }