1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 04:26:03 +08:00

Update IAppSystem for latest DoI update.

This commit is contained in:
Nicholas Hastings
2017-07-23 08:49:04 -04:00
parent bee9791e6f
commit b96f78a0b7

View File

@ -76,6 +76,9 @@ public:
// Reconnect to a particular interface // Reconnect to a particular interface
virtual void Reconnect( CreateInterfaceFn factory, const char *pInterfaceName ) = 0; 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 ); ReconnectInterface( factory, pInterfaceName );
} }
virtual bool IsSingleton() { return true; }
}; };