Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ADDON::GUI::CHelpers Class Reference

#include <GUIHelpers.h>

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.
 

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: