added zaphistory plugin token for default menus

This commit is contained in:
louis 2016-02-28 12:00:23 +01:00
parent ae097c1221
commit 3c038ad1c7
2 changed files with 5 additions and 1 deletions

View File

@ -664,6 +664,7 @@ enum class eLeMenuDefaultIT {
mailbox,
neutrinoepg,
remotetimers,
zaphistory,
count
};

View File

@ -175,6 +175,7 @@ void cLeMenuDefault::SetTokenContainer(void) {
tokenContainer->DefineIntToken("{mailbox}", (int)eLeMenuDefaultIT::mailbox);
tokenContainer->DefineIntToken("{neutrinoepg}", (int)eLeMenuDefaultIT::neutrinoepg);
tokenContainer->DefineIntToken("{remotetimers}", (int)eLeMenuDefaultIT::remotetimers);
tokenContainer->DefineIntToken("{zaphistory}", (int)eLeMenuDefaultIT::zaphistory);
InheritTokenContainer();
}
@ -293,7 +294,9 @@ void cLeMenuDefault::SetMenuCategory(void) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::neutrinoepg, 1);
} else if (!strcmp(plugName, "remotetimers")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::remotetimers, 1);
}
} else if (!strcmp(plugName, "zaphistory")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::zaphistory, 1);
}
}
void cLeMenuDefault::CheckProgressBar(const char *text, int tab) {