lcd4l: possibility to use it in user menue

This commit is contained in:
GetAway
2018-12-26 20:06:01 +01:00
parent 99a6ab267d
commit 444173ead6
6 changed files with 30 additions and 0 deletions

View File

@@ -94,6 +94,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());