From 78d424d2562350d77bbbce00910b2e4a01483bbe Mon Sep 17 00:00:00 2001 From: kamel5 Date: Tue, 9 Feb 2021 15:02:44 +0100 Subject: [PATCH] Token eLeMenuDefaultIT::devstatus added --- coreengine/definitions.h | 1 + coreengine/listelements.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/coreengine/definitions.h b/coreengine/definitions.h index 6206843..a995907 100644 --- a/coreengine/definitions.h +++ b/coreengine/definitions.h @@ -813,6 +813,7 @@ enum class eLeMenuDefaultIT { remoteosd, filebrowser, epgsearch, + devstatus, count }; diff --git a/coreengine/listelements.c b/coreengine/listelements.c index decca1e..02b32d5 100644 --- a/coreengine/listelements.c +++ b/coreengine/listelements.c @@ -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); } }