diff options
Diffstat (limited to 'src/commandmenunode.cpp')
-rw-r--r-- | src/commandmenunode.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commandmenunode.cpp b/src/commandmenunode.cpp index ff44bef..ed4328e 100644 --- a/src/commandmenunode.cpp +++ b/src/commandmenunode.cpp @@ -25,6 +25,7 @@ #include <vdr/interface.h> #include <vdr/menu.h> #include "osditemdefinition.h" +#include "childlock.h" using namespace std; @@ -80,3 +81,8 @@ string CommandMenuNode::ExecuteCommand() } return result; } + +bool CommandMenuNode::IsHidden() +{ + return ChildLock::IsMenuHidden(_text.c_str()); +} |