Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
DialogHelper.cpp File Reference
#include "DialogHelper.h"
#include "messaging/ApplicationMessenger.h"
#include <utility>
#include <cassert>

Namespaces

namespace  KODI
 Controller configuration window.
 
namespace  KODI::MESSAGING
 
namespace  KODI::MESSAGING::HELPERS
 

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. More...
 
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 cutom button. More...
 
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. More...