GOG GALAXY SDK Documentation
IListenerRegistrar.h File Reference

Contains data structures and interfaces related to callback listeners. More...

#include "stdint.h"
#include <stdlib.h>
#include "GalaxyExport.h"
Include dependency graph for IListenerRegistrar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IGalaxyListener
 The interface that is implemented by all specific callback listeners. More...
 
class  GalaxyTypeAwareListener< type >
 The class that is inherited by all specific callback listeners and provides a static method that returns the type of the specific listener. More...
 
class  IListenerRegistrar
 The class that enables and disables global registration of the instances of specific listeners. More...
 
class  SelfRegisteringListener< _TypeAwareListener, _Registrar >
 The class that is inherited by the self-registering versions of all specific callback listeners. More...
 

Enumerations

enum  ListenerType {
  LISTENER_TYPE_BEGIN , LOBBY_LIST = LISTENER_TYPE_BEGIN , LOBBY_CREATED , LOBBY_ENTERED ,
  LOBBY_LEFT , LOBBY_DATA , LOBBY_MEMBER_STATE , LOBBY_OWNER_CHANGE ,
  AUTH , LOBBY_MESSAGE , NETWORKING , USER_DATA ,
  USER_STATS_AND_ACHIEVEMENTS_RETRIEVE , STATS_AND_ACHIEVEMENTS_STORE , ACHIEVEMENT_CHANGE , LEADERBOARDS_RETRIEVE ,
  LEADERBOARD_ENTRIES_RETRIEVE , LEADERBOARD_SCORE_UPDATE_LISTENER , PERSONA_DATA_CHANGED , RICH_PRESENCE_CHANGE_LISTENER ,
  GAME_JOIN_REQUESTED_LISTENER , OPERATIONAL_STATE_CHANGE , FRIEND_LIST_RETRIEVE , ENCRYPTED_APP_TICKET_RETRIEVE ,
  ACCESS_TOKEN_CHANGE , LEADERBOARD_RETRIEVE , SPECIFIC_USER_DATA , INVITATION_SEND ,
  RICH_PRESENCE_LISTENER , GAME_INVITATION_RECEIVED_LISTENER , NOTIFICATION_LISTENER , LOBBY_DATA_RETRIEVE ,
  USER_TIME_PLAYED_RETRIEVE , OTHER_SESSION_START , FILE_SHARE , SHARED_FILE_DOWNLOAD ,
  CUSTOM_NETWORKING_CONNECTION_OPEN , CUSTOM_NETWORKING_CONNECTION_CLOSE , CUSTOM_NETWORKING_CONNECTION_DATA , OVERLAY_INITIALIZATION_STATE_CHANGE ,
  OVERLAY_VISIBILITY_CHANGE , CHAT_ROOM_WITH_USER_RETRIEVE_LISTENER , CHAT_ROOM_MESSAGE_SEND_LISTENER , CHAT_ROOM_MESSAGES_LISTENER ,
  FRIEND_INVITATION_SEND_LISTENER , FRIEND_INVITATION_LIST_RETRIEVE_LISTENER , FRIEND_INVITATION_LISTENER , FRIEND_INVITATION_RESPOND_TO_LISTENER ,
  FRIEND_ADD_LISTENER , FRIEND_DELETE_LISTENER , CHAT_ROOM_MESSAGES_RETRIEVE_LISTENER , USER_FIND_LISTENER ,
  NAT_TYPE_DETECTION , SENT_FRIEND_INVITATION_LIST_RETRIEVE_LISTENER , LOBBY_DATA_UPDATE_LISTENER , LOBBY_MEMBER_DATA_UPDATE_LISTENER ,
  USER_INFORMATION_RETRIEVE_LISTENER , RICH_PRESENCE_RETRIEVE_LISTENER , GOG_SERVICES_CONNECTION_STATE_LISTENER , TELEMETRY_EVENT_SEND_LISTENER ,
  LISTENER_TYPE_END
}
 Listener type. More...
 

Functions

GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE ListenerRegistrar ()
 Returns an instance of IListenerRegistrar. More...
 
GALAXY_DLL_EXPORT IListenerRegistrar *GALAXY_CALLTYPE GameServerListenerRegistrar ()
 Returns an instance of IListenerRegistrar interface the for Game Server entity. More...
 

Detailed Description

Contains data structures and interfaces related to callback listeners.