int CFBCallMonitor::exec(CMenuTarget* parent, const std::string &actionKey) { if(parent) parent->hide(); if(actionKey == "save") { //SaveSettings(); if(this->SaveSettings()) HintBox(LOCALE_MESSAGEBOX_INFO, "Einstellungen werden gespeichert!"); else HintBox(LOCALE_MESSAGEBOX_INFO, "Einstellungen NICHT gespeichert!"); } return menu_return::RETURN_REPAINT; }
void plugin_exec(void) { system("rm -f /etc/.nhd2"); system("touch /etc/.e2"); g_RCInput->postMsg( NeutrinoMessages::RESTART, 0 ); HintBox(LOCALE_MESSAGEBOX_INFO, "enigma2 wird gestartet !"); }
void CPlugins::startPlugin(const char * const name) { int pluginnr = find_plugin(name); if (pluginnr > -1) startPlugin(pluginnr); else { dprintf(DEBUG_NORMAL, "[CPlugins] could not find %s\n", name); std::string hint = name; hint += " "; hint += g_Locale->getText(LOCALE_PLUGINS_NOT_INSTALLED); HintBox(LOCALE_MESSAGEBOX_INFO, hint.c_str()); } }
void CTestMenu::testCHintBoxInfo() { HintBox(LOCALE_MESSAGEBOX_INFO, "HintBox"); }