Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
DialogHelper.cpp File Reference
#include "DialogHelper.h"
#include "ServiceBroker.h"
#include "messaging/ApplicationMessenger.h"
#include <cassert>
#include <utility>

Namespaces

namespace  KODI
 
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.
 
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.