*neutrino menu-classes: style correcture in CAbstractMenuOptionChooser

contructor and destructors added, init member variables

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1362 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-03-31 13:44:39 +00:00
parent 0ad1fd41fd
commit b27264d51a

View File

@@ -217,20 +217,23 @@ class CMenuForwarderNonLocalized : public CMenuForwarder
class CAbstractMenuOptionChooser : public CMenuItem
{
protected:
neutrino_locale_t optionName;
int height;
int * optionValue;
protected:
neutrino_locale_t optionName;
int height;
int * optionValue;
int getHeight(void) const
{
return height;
}
int getHeight(void) const{return height;}
bool isSelectable(void) const
bool isSelectable(void) const{return active;}
public:
CAbstractMenuOptionChooser()
{
return active;
}
optionName = NONEXISTANT_LOCALE;
height = 0;
optionValue = NULL;
};
~CAbstractMenuOptionChooser(){}
};
class CMenuOptionNumberChooser : public CAbstractMenuOptionChooser