xbmc
Public Member Functions | List of all members
KODI::GAME::IActivePortList Class Referenceabstract

A list populated by input ports on a game console. More...

#include <IActivePortList.h>

Inheritance diagram for KODI::GAME::IActivePortList:
Inheritance graph
[legend]

Public Member Functions

virtual bool Initialize (GameClientPtr gameClient)=0
 Initialize resources. More...
 
virtual void Deinitialize ()=0
 Deinitialize resources.
 
virtual void Refresh ()=0
 Refresh the contents of the list.
 

Detailed Description

A list populated by input ports on a game console.

In the Player Viewer dialog (GameAgents window), this list has control ID 4.

Each port is an item in the list. Ports are represented by the controller icon of the connected controller.

Ports are only included in the list if the controller profile provides input. For example, Multitaps will be skipped.

When ports are changed, the player list (IAgentList) is updated.

Member Function Documentation

◆ Initialize()

virtual bool KODI::GAME::IActivePortList::Initialize ( GameClientPtr  gameClient)
pure virtual

Initialize resources.

Parameters
gameClientThe game client providing the ports
Returns
True if the resource is initialized and can be used, false if the resource failed to initialize and must not be used

Implemented in KODI::GAME::CGUIActivePortList.


The documentation for this class was generated from the following file: