Project

General

Profile

Feature #2343 ยป pluginnames.patch

tomas, 03/12/2016 05:13 PM

View differences:

coreengine/definitions.h
neutrinoepg,
remotetimers,
zaphistory,
remoteosd,
filebrowser,
epgsearch,
count
};
......
};
#endif //__DEFINITIONS_H
#endif //__DEFINITIONS_H
coreengine/listelements.c
tokenContainer->DefineIntToken("{neutrinoepg}", (int)eLeMenuDefaultIT::neutrinoepg);
tokenContainer->DefineIntToken("{remotetimers}", (int)eLeMenuDefaultIT::remotetimers);
tokenContainer->DefineIntToken("{zaphistory}", (int)eLeMenuDefaultIT::zaphistory);
tokenContainer->DefineIntToken("{remoteosd}", (int)eLeMenuDefaultIT::remoteosd);
tokenContainer->DefineIntToken("{filebrowser}", (int)eLeMenuDefaultIT::filebrowser);
tokenContainer->DefineIntToken("{epgsearch}", (int)eLeMenuDefaultIT::epgsearch);
InheritTokenContainer();
}
......
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::remotetimers, 1);
} else if (!strcmp(plugName, "zaphistory")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::zaphistory, 1);
}else if (!strcmp(plugName, "remoteosd")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::remoteosd, 1);
}else if (!strcmp(plugName, "filebrowser")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::filebrowser, 1);
}else if (!strcmp(plugName, "epgsearch")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::epgsearch, 1);
}
}
......
tokenContainer->AddIntToken((int)eLeDisplayTracksIT::current, current);
tokenContainer->AddStringToken((int)eLeDisplayTracksST::title, text);
return true;
}
}
    (1-1/1)