lcd4l add possibility to use it in user menu (thx GetAway)

Origin commit data
------------------
Commit: d61353f0fa
Author: TangoCash <eric@loxat.de>
Date: 2018-12-25 (Tue, 25 Dec 2018)
This commit is contained in:
TangoCash
2018-12-25 22:35:29 +01:00
committed by vanhofen
parent a2db000595
commit 152f6a5409
6 changed files with 22 additions and 0 deletions

View File

@@ -89,6 +89,16 @@ CLCD4lSetup::~CLCD4lSetup()
{
}
CLCD4lSetup* CLCD4lSetup::getInstance()
{
static CLCD4lSetup* me = NULL;
if(!me)
me = new CLCD4lSetup();
return me;
}
int CLCD4lSetup::exec(CMenuTarget *parent, const std::string &actionkey)
{
printf("CLCD4lSetup::exec: actionkey %s\n", actionkey.c_str());