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

A wizard to direct user input. More...

#include <IConfigurationWindow.h>

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

Public Member Functions

virtual void Run (const std::string &strControllerId, const std::vector< IFeatureButton *> &buttons)=0
 Start the wizard for the specified buttons. More...
 
virtual void OnUnfocus (IFeatureButton *button)=0
 Callback for feature losing focus. More...
 
virtual bool Abort (bool bWait=true)=0
 Abort a running wizard. More...
 
virtual void RegisterKey (const CPhysicalFeature &key)=0
 Register a key by its keycode. More...
 
virtual void UnregisterKeys ()=0
 Unregister all registered keys.
 

Detailed Description

A wizard to direct user input.

Member Function Documentation

◆ Abort()

virtual bool KODI::GAME::IConfigurationWizard::Abort ( bool  bWait = true)
pure virtual

Abort a running wizard.

Parameters
bWaitTrue if the call should block until the wizard is fully aborted
Returns
true if aborted, or false if the wizard wasn't running

Implemented in KODI::GAME::CGUIConfigurationWizard.

◆ OnUnfocus()

virtual void KODI::GAME::IConfigurationWizard::OnUnfocus ( IFeatureButton button)
pure virtual

Callback for feature losing focus.

Parameters
buttonThe feature button losing focus

Implemented in KODI::GAME::CGUIConfigurationWizard.

◆ RegisterKey()

virtual void KODI::GAME::IConfigurationWizard::RegisterKey ( const CPhysicalFeature key)
pure virtual

Register a key by its keycode.

Parameters
keyA key with a valid keycode

This should be called before Run(). It allows the user to choose a key to map instead of scrolling through a long list.

Implemented in KODI::GAME::CGUIConfigurationWizard.

◆ Run()

virtual void KODI::GAME::IConfigurationWizard::Run ( const std::string &  strControllerId,
const std::vector< IFeatureButton *> &  buttons 
)
pure virtual

Start the wizard for the specified buttons.

Parameters
controllerIdThe controller ID being mapped
buttonsThe buttons to map

Implemented in KODI::GAME::CGUIConfigurationWizard.


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