fix some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25974 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c85eff1991
commit
8604e5edd7
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user