menu.cpp: add member to set action key

Origin commit data
------------------
Commit: 80a25840a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-30 (Sat, 30 Mar 2019)
This commit is contained in:
2019-03-30 00:06:26 +01:00
committed by vanhofen
parent e2ce25e79b
commit 89e3fbf222

View File

@@ -284,6 +284,7 @@ class CMenuForwarder : public CMenuItem
neutrino_locale_t getTextLocale() const {return name;}
CMenuTarget* getTarget() const {return jumpTarget;}
const char *getActionKey(){return actionKey.c_str();}
void setActionKey(const std::string& ActionKey){actionKey = ActionKey;}
int exec(CMenuTarget* parent);
void setOption(const std::string &Option);