::getValue(void): remove multiple declared members

Already inherited from CMenuTarget
This commit is contained in:
2018-04-11 16:12:03 +02:00
parent bfb61a273e
commit ef4ba9847e
5 changed files with 1 additions and 13 deletions

View File

@@ -529,11 +529,6 @@ void CKeyboardInput::insertChar()
changed = true; changed = true;
} }
std::string &CKeyboardInput::getValue(void)
{
return *valueString;
}
void CKeyboardInput::forceSaveScreen(bool enable) void CKeyboardInput::forceSaveScreen(bool enable)
{ {
force_saveScreen = enable; force_saveScreen = enable;

View File

@@ -135,7 +135,6 @@ class CKeyboardInput : public CMenuTarget
void hide(); void hide();
int exec( CMenuTarget* parent, const std::string & actionKey ); int exec( CMenuTarget* parent, const std::string & actionKey );
virtual std::string &getValue(void);
void forceSaveScreen(bool enable); void forceSaveScreen(bool enable);
}; };

View File

@@ -35,7 +35,7 @@ class CMenuTarget
virtual ~CMenuTarget(){} virtual ~CMenuTarget(){}
virtual void hide(){} virtual void hide(){}
virtual int exec(CMenuTarget* parent, const std::string & actionKey) = 0; virtual int exec(CMenuTarget* parent, const std::string & actionKey) = 0;
virtual std::string &getValue(void) { return *valueString; } virtual std::string& getValue(void) { return *valueString; }
virtual fb_pixel_t getColor(void) { return 0; } virtual fb_pixel_t getColor(void) { return 0; }
}; };

View File

@@ -368,11 +368,6 @@ void CStringInput::keyPlusPressed()
} }
} }
std::string &CStringInput::getValue(void)
{
return *valueString;
}
void CStringInput::forceSaveScreen(bool enable) void CStringInput::forceSaveScreen(bool enable)
{ {
force_saveScreen = enable; force_saveScreen = enable;

View File

@@ -92,7 +92,6 @@ class CStringInput : public CMenuTarget
void hide(); void hide();
int exec( CMenuTarget* parent, const std::string & actionKey ); int exec( CMenuTarget* parent, const std::string & actionKey );
void setMinMax(const int min_value, const int max_value); void setMinMax(const int min_value, const int max_value);
virtual std::string &getValue(void);
void forceSaveScreen(bool enable); void forceSaveScreen(bool enable);
}; };