GOG GALAXY SDK Documentation
|
The class that enables and disables global registration of the instances of specific listeners. More...
#include <IListenerRegistrar.h>
Public Member Functions | |
virtual void | Register (ListenerType listenerType, IGalaxyListener *listener)=0 |
Globally registers a callback listener that inherits from IGalaxyListener and is of any of the standard listener types specified in ListenerType. More... | |
virtual void | Unregister (ListenerType listenerType, IGalaxyListener *listener)=0 |
Unregisters a listener previously globally registered with Register() or registered for specific action. More... | |
The class that enables and disables global registration of the instances of specific listeners.
You can either use it explicitly, or implicitly by inheriting from a self-registering basic listener of desired type.
|
pure virtual |
Globally registers a callback listener that inherits from IGalaxyListener and is of any of the standard listener types specified in ListenerType.
[in] | listenerType | The type of the listener. A value of ListenerType. |
[in] | listener | The specific listener of the specified type. |
|
pure virtual |
Unregisters a listener previously globally registered with Register() or registered for specific action.
Call Unregister() unregisters listener from all pending asynchronous calls.
[in] | listenerType | The type of the listener. A value of ListenerType. |
[in] | listener | The specific listener of the specified type. |