Hi to all and sorry for my bad english, i try to compile cvs for dm7000 and make a function to run one plugin ( by name ) with blue key.
I add this in rcdm7000.xml
I add this in enigma_main.h
I add this in enigma_main.cpp
Code
showInfobar, hideInfobar, showInfobarEPG, showServiceSelector,
showSubservices, showAudio, pluginVTXT, pluginExt, pluginExtern, showEPGList, showEPG,
nextSubService, prevSubService, nextService, prevService,
................
pluginExtern(map, "pluginExtern", _("show extension Plugins"), eAction::prioDialog),
................
addActionToHelpList(&i_enigmaMainActions->pluginExtern);
................
void eZapMain::runPluginExtern()
{
eZapPlugins plugins(5);
if ( plugins.execPluginByName("Nameplugin.cfg") != "OK" )
plugins.execPluginByName("_Nameplugin.cfg");
}
................
runVTXT();
else if (event.action == &i_enigmaMainActions->pluginExt)runPluginExt();
else if (event.action == &i_enigmaMainActions->pluginExtern)runPluginExtern();
else if (event.action == &i_enigmaMainActions->showEPGList)
{
Alles anzeigen
Then i made
And i get this error:
eZapPlugins plugins(5);
enigma_main.cpp: In member function `void eZapMain::runPluginExtern()':
enigma_main.cpp: error: invalid conversion from `int' to `eZapPlugins::Types'
enigma_main.cpp: error: initializing argument 1 of `eZapPlugins::eZapPlugins(eZapPlugins::Types, eWidget*, eWidget*)'
Can you help me ?
Thanks.