*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

@@ -222,15 +222,18 @@ class CAbstractMenuOptionChooser : public CMenuItem
int height; int height;
int * optionValue; int * optionValue;
int getHeight(void) const int getHeight(void) const{return height;}
{
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 class CMenuOptionNumberChooser : public CAbstractMenuOptionChooser