From ebdb41e5d630cad91dab5372ffc0b4f461a85426 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Thu, 9 Jun 2011 18:48:24 +0300 Subject: STORM-1254 WIP Implemented deleting local water presets. --- indra/newview/llwaterparammanager.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'indra/newview/llwaterparammanager.h') 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 public: typedef boost::signals2::signal 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(); -- cgit v1.2.3