mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
menu: move class CNonLocalizedMenuSeparator from update.cpp into gui/menu.h
This commit is contained in:
@@ -175,6 +175,22 @@ class CMenuSeparator : public CMenuItem
|
||||
void setString(const std::string& text);
|
||||
};
|
||||
|
||||
class CNonLocalizedMenuSeparator : public CMenuSeparator
|
||||
{
|
||||
const char * the_text;
|
||||
|
||||
public:
|
||||
CNonLocalizedMenuSeparator(const char * ptext, const neutrino_locale_t Text1) : CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, Text1)
|
||||
{
|
||||
the_text = ptext;
|
||||
}
|
||||
|
||||
virtual const char * getString(void)
|
||||
{
|
||||
return the_text;
|
||||
}
|
||||
};
|
||||
|
||||
class CMenuForwarder : public CMenuItem
|
||||
{
|
||||
const char * option;
|
||||
|
Reference in New Issue
Block a user