GOG GALAXY SDK Documentation
|
The class that is inherited by the self-registering versions of all specific callback listeners. More...
#include <IListenerRegistrar.h>
Public Member Functions | |
SelfRegisteringListener () | |
Creates an instance of SelfRegisteringListener and registers it with the IListenerRegistrar provided by Galaxy Peer. More... | |
~SelfRegisteringListener () | |
Destroys the instance of SelfRegisteringListener and unregisters it with the instance of IListenerRegistrar that was used to register the listener when it was created. | |
The class that is inherited by the self-registering versions of all specific callback listeners.
An instance of a listener that derives from it automatically globally registers itself for proper callback notifications, and unregisters when destroyed, which is done with IListenerRegistrar.
[in] | _Registrar | The instance of IListenerRegistrar to use for registering and unregistering. Defaults to the one provided by Galaxy Peer. |
|
inline |
Creates an instance of SelfRegisteringListener and registers it with the IListenerRegistrar provided by Galaxy Peer.