diff --git a/public/appframework/IAppSystem.h b/public/appframework/IAppSystem.h index 20f9285c..b3fe53bb 100644 --- a/public/appframework/IAppSystem.h +++ b/public/appframework/IAppSystem.h @@ -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; } };