diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-09 18:48:24 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-09 18:48:24 +0300 |
commit | ebdb41e5d630cad91dab5372ffc0b4f461a85426 (patch) | |
tree | 590f8a9db1281436d529db5e79dd8284587b0582 /indra/newview/llwaterparammanager.h | |
parent | 173b9d11c41d32c52c4cd64c23e0a5b0f3ef09fc (diff) |
STORM-1254 WIP Implemented deleting local water presets.
Diffstat (limited to 'indra/newview/llwaterparammanager.h')
-rw-r--r-- | indra/newview/llwaterparammanager.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/indra/newview/llwaterparammanager.h b/indra/newview/llwaterparammanager.h index 76891094c2..1f599f57dc 100644 --- a/indra/newview/llwaterparammanager.h +++ b/indra/newview/llwaterparammanager.h @@ -218,13 +218,6 @@ class LLWaterParamManager : public LLSingleton<LLWaterParamManager> public: typedef boost::signals2::signal<void()> preset_list_signal_t; - /// load a preset file - void loadAllPresets(const std::string & fileName); - - /// load an individual preset into the sky - - void loadPreset(const std::string & name,bool propagate=true); - /// save the parameter presets to file void savePreset(const std::string & name); @@ -318,6 +311,10 @@ private: LLWaterParamManager(); ~LLWaterParamManager(); + void loadAllPresets(); + void loadPresetsFromDir(const std::string& dir); + bool loadPreset(const std::string& path); + static std::string getSysDir(); static std::string getUserDir(); |