Beispiel #1
0
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;
}
Beispiel #2
0
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 !");
}
Beispiel #3
0
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());
	}

}
Beispiel #4
0
void CTestMenu::testCHintBoxInfo()
{
	HintBox(LOCALE_MESSAGEBOX_INFO, "HintBox");
}