kodi
Static Public Member Functions | List of all members
ADDON::GUI::CHelpers Class Reference

Static Public Member Functions

static bool DialogAddonLifecycleUseAsk (const std::shared_ptr< const IAddon > &addon)
 This shows an Yes/No dialog with information about the add-on if it is not in the normal status. More...
 

Member Function Documentation

◆ DialogAddonLifecycleUseAsk()

bool CHelpers::DialogAddonLifecycleUseAsk ( const std::shared_ptr< const IAddon > &  addon)
static

This shows an Yes/No dialog with information about the add-on if it is not in the normal status.

This asks the user whether he really wants to use the add-on and informs with text why the other status is.

Note
The dialog is currently displayed for AddonLifecycleState::BROKEN and AddonLifecycleState::DEPRECATED.
Parameters
[in]addonClass of the add-on to be checked
Returns
True if user activation is desired, false if not

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