75 const std::string& text,
77 const std::string& noLabel =
"",
78 const std::string& yesLabel =
"")
80 using namespace ::kodi::addon;
81 return CPrivateBase::m_interface->toKodi->kodi_gui->dialogYesNo->show_and_get_input_single_text(
82 CPrivateBase::m_interface->toKodi->kodiBase, heading.c_str(), text.c_str(), &canceled,
83 noLabel.c_str(), yesLabel.c_str());
118 const std::string& line0,
119 const std::string& line1,
120 const std::string& line2,
121 const std::string& noLabel =
"",
122 const std::string& yesLabel =
"")
124 using namespace ::kodi::addon;
125 return CPrivateBase::m_interface->toKodi->kodi_gui->dialogYesNo->show_and_get_input_line_text(
126 CPrivateBase::m_interface->toKodi->kodiBase, heading.c_str(), line0.c_str(), line1.c_str(),
127 line2.c_str(), noLabel.c_str(), yesLabel.c_str());
167 const std::string& line0,
168 const std::string& line1,
169 const std::string& line2,
171 const std::string& noLabel =
"",
172 const std::string& yesLabel =
"")
174 using namespace ::kodi::addon;
175 return CPrivateBase::m_interface->toKodi->kodi_gui->dialogYesNo
176 ->show_and_get_input_line_button_text(
177 CPrivateBase::m_interface->toKodi->kodiBase, heading.c_str(), line0.c_str(),
178 line1.c_str(), line2.c_str(), &canceled, noLabel.c_str(), yesLabel.c_str());
bool ATTR_DLL_LOCAL ShowAndGetInput(const std::string &heading, const std::string &text, bool &canceled, const std::string &noLabel="", const std::string &yesLabel="")
Use dialog to get numeric new password with one text string shown everywhere and cancel return field.
Definition YesNo.h:74