Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
DialogHelper.h File Reference
#include "utils/Variant.h"
#include <array>
#include <string>

Classes

struct  KODI::MESSAGING::HELPERS::DialogYesNoMessage
 Payload sent for message TMSG_GUI_DIALOG_YESNO. More...
 

Namespaces

namespace  KODI
 
namespace  KODI::MESSAGING
 
namespace  KODI::MESSAGING::HELPERS
 

Enumerations

enum class  KODI::MESSAGING::HELPERS::DialogResponse : int { KODI::MESSAGING::HELPERS::CHOICE_CANCELLED , KODI::MESSAGING::HELPERS::CHOICE_YES , KODI::MESSAGING::HELPERS::CHOICE_NO , KODI::MESSAGING::HELPERS::CHOICE_CUSTOM }
 

Functions

DialogResponse KODI::MESSAGING::HELPERS::ShowYesNoDialogText (CVariant heading, CVariant text, CVariant noLabel=CVariant(), CVariant yesLabel=CVariant(), uint32_t autoCloseTimeout=0)
 This is a helper method to send a threadmessage to open a Yes/No dialog box.
 
DialogResponse KODI::MESSAGING::HELPERS::ShowYesNoCustomDialog (CVariant heading, CVariant text, CVariant noLabel=CVariant(), CVariant yesLabel=CVariant(), CVariant customLabel=CVariant(), uint32_t autoCloseTimeout=0)
 This is a helper method to send a threadmessage to open a Yes/No dialog box with a custom button.
 
DialogResponse KODI::MESSAGING::HELPERS::ShowYesNoDialogLines (CVariant heading, CVariant line0, CVariant line1=CVariant(), CVariant line2=CVariant(), CVariant noLabel=CVariant(), CVariant yesLabel=CVariant(), uint32_t autoCloseTimeout=0)
 This is a helper method to send a threadmessage to open a Yes/No dialog box.