fix some warnings

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25974 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-06-16 16:36:38 +00:00
parent c85eff1991
commit 8604e5edd7
3 changed files with 13 additions and 0 deletions

View File

@ -148,6 +148,11 @@ ScalarValueSetting::ScalarValueSetting(const char* name, int32 defaultValue,
}
ScalarValueSetting::~ScalarValueSetting()
{
}
void
ScalarValueSetting::ValueChanged(int32 newValue)
{
@ -209,6 +214,11 @@ BooleanValueSetting::BooleanValueSetting(const char* name, bool defaultValue)
}
BooleanValueSetting::~BooleanValueSetting()
{
}
bool
BooleanValueSetting::Value() const
{

View File

@ -53,6 +53,7 @@ public:
ScalarValueSetting(const char* name, int32 defaultValue,
const char* valueExpectedErrorString, const char* wrongValueErrorString,
int32 min = LONG_MIN, int32 max = LONG_MAX);
virtual ~ScalarValueSetting();
void ValueChanged(int32 newValue);
int32 Value() const;
@ -75,6 +76,7 @@ class BooleanValueSetting : public ScalarValueSetting {
// on-off setting
public:
BooleanValueSetting(const char* name, bool defaultValue);
virtual ~BooleanValueSetting();
bool Value() const;
virtual const char* Handle(const char *const *argv);

View File

@ -72,6 +72,7 @@ class SettingsArgvDispatcher {
// base class for a single setting item
public:
SettingsArgvDispatcher(const char* name);
virtual ~SettingsArgvDispatcher() {};
void SaveSettings(Settings* settings, bool onlyIfNonDefault);