summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingsbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llinventory/llsettingsbase.h')
-rw-r--r--indra/llinventory/llsettingsbase.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingsbase.h b/indra/llinventory/llsettingsbase.h
index 0a20754ffb..fa5fb7a763 100644
--- a/indra/llinventory/llsettingsbase.h
+++ b/indra/llinventory/llsettingsbase.h
@@ -155,7 +155,6 @@ public:
virtual bool validate();
-protected:
class Validator
{
public:
@@ -192,9 +191,14 @@ protected:
};
typedef std::vector<Validator> validation_list_t;
+ static LLSD settingValidation(LLSD &settings, validation_list_t &validations);
+protected:
+
LLSettingsBase();
LLSettingsBase(const LLSD setting);
+ static LLSD settingValidation(LLSD settings);
+
typedef std::set<std::string> stringset_t;
// combining settings objects. Customize for specific setting types