Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::GAME::CGUIActivePortList Class Reference

#include <GUIActivePortList.h>

Inheritance diagram for KODI::GAME::CGUIActivePortList:
KODI::GAME::IActivePortList Observer

Public Member Functions

 CGUIActivePortList (CGUIWindow &window, int controlId, bool showInputDisabled)
 
 ~CGUIActivePortList () override
 
bool Initialize (GameClientPtr gameClient) override
 Initialize resources.
 
void Deinitialize () override
 Deinitialize resources.
 
void Refresh () override
 Refresh the contents of the list.
 
void Notify (const Observable &obs, const ObservableMessage msg) override
 Process a message from an observable.
 
- Public Member Functions inherited from KODI::GAME::IActivePortList
virtual ~IActivePortList ()=default
 
- Public Member Functions inherited from Observer
 Observer ()=default
 
virtual ~Observer ()=default
 

Constructor & Destructor Documentation

◆ CGUIActivePortList()

CGUIActivePortList::CGUIActivePortList ( CGUIWindow & window,
int controlId,
bool showInputDisabled )

◆ ~CGUIActivePortList()

CGUIActivePortList::~CGUIActivePortList ( )
override

Member Function Documentation

◆ Deinitialize()

void CGUIActivePortList::Deinitialize ( )
overridevirtual

Deinitialize resources.

Implements KODI::GAME::IActivePortList.

◆ Initialize()

bool CGUIActivePortList::Initialize ( GameClientPtr gameClient)
overridevirtual

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

Implements KODI::GAME::IActivePortList.

◆ Notify()

void CGUIActivePortList::Notify ( const Observable & obs,
const ObservableMessage msg )
overridevirtual

Process a message from an observable.

Parameters
obsThe observable that sends the message.
msgThe message.

Implements Observer.

◆ Refresh()

void CGUIActivePortList::Refresh ( )
overridevirtual

Refresh the contents of the list.

Implements KODI::GAME::IActivePortList.


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