Token eLeMenuDefaultIT::devstatus added

This commit is contained in:
kamel5 2021-02-09 15:02:44 +01:00
parent cba8fe1eb4
commit 78d424d256
2 changed files with 4 additions and 0 deletions

View File

@ -813,6 +813,7 @@ enum class eLeMenuDefaultIT {
remoteosd,
filebrowser,
epgsearch,
devstatus,
count
};

View File

@ -304,6 +304,7 @@ void cLeMenuDefault::SetTokenContainer(void) {
tokenContainer->DefineIntToken("{remoteosd}", (int)eLeMenuDefaultIT::remoteosd);
tokenContainer->DefineIntToken("{filebrowser}", (int)eLeMenuDefaultIT::filebrowser);
tokenContainer->DefineIntToken("{epgsearch}", (int)eLeMenuDefaultIT::epgsearch);
tokenContainer->DefineIntToken("{devstatus}", (int)eLeMenuDefaultIT::devstatus);
InheritTokenContainer();
}
@ -430,6 +431,8 @@ void cLeMenuDefault::SetMenuCategory(void) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::filebrowser, 1);
} else if (!strcmp(plugName, "epgsearch")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::epgsearch, 1);
} else if (!strcmp(plugName, "devstatus")) {
tokenContainer->AddIntToken((int)eLeMenuDefaultIT::devstatus, 1);
}
}