mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added zaphistory plugin token for default menus
This commit is contained in:
parent
ae097c1221
commit
3c038ad1c7
@ -664,6 +664,7 @@ enum class eLeMenuDefaultIT {
|
|||||||
mailbox,
|
mailbox,
|
||||||
neutrinoepg,
|
neutrinoepg,
|
||||||
remotetimers,
|
remotetimers,
|
||||||
|
zaphistory,
|
||||||
count
|
count
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -175,6 +175,7 @@ void cLeMenuDefault::SetTokenContainer(void) {
|
|||||||
tokenContainer->DefineIntToken("{mailbox}", (int)eLeMenuDefaultIT::mailbox);
|
tokenContainer->DefineIntToken("{mailbox}", (int)eLeMenuDefaultIT::mailbox);
|
||||||
tokenContainer->DefineIntToken("{neutrinoepg}", (int)eLeMenuDefaultIT::neutrinoepg);
|
tokenContainer->DefineIntToken("{neutrinoepg}", (int)eLeMenuDefaultIT::neutrinoepg);
|
||||||
tokenContainer->DefineIntToken("{remotetimers}", (int)eLeMenuDefaultIT::remotetimers);
|
tokenContainer->DefineIntToken("{remotetimers}", (int)eLeMenuDefaultIT::remotetimers);
|
||||||
|
tokenContainer->DefineIntToken("{zaphistory}", (int)eLeMenuDefaultIT::zaphistory);
|
||||||
InheritTokenContainer();
|
InheritTokenContainer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -293,7 +294,9 @@ void cLeMenuDefault::SetMenuCategory(void) {
|
|||||||
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::neutrinoepg, 1);
|
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::neutrinoepg, 1);
|
||||||
} else if (!strcmp(plugName, "remotetimers")) {
|
} else if (!strcmp(plugName, "remotetimers")) {
|
||||||
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::remotetimers, 1);
|
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) {
|
void cLeMenuDefault::CheckProgressBar(const char *text, int tab) {
|
||||||
|
Loading…
Reference in New Issue
Block a user