diff options
Diffstat (limited to 'indra/newview/llpresetsmanager.h')
-rw-r--r-- | indra/newview/llpresetsmanager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llpresetsmanager.h b/indra/newview/llpresetsmanager.h index 2d6dd4fd1b..b9a79a7736 100644 --- a/indra/newview/llpresetsmanager.h +++ b/indra/newview/llpresetsmanager.h @@ -28,6 +28,7 @@ #define LL_PRESETSMANAGER_H #include <list> +#include <map> class LLPresetsManager : public LLSingleton<LLPresetsManager> { @@ -35,7 +36,8 @@ public: typedef std::list<std::string> preset_name_list_t; typedef boost::signals2::signal<void()> preset_list_signal_t; - void getPresetsFromDir(const std::string& dir); + void getPresetNames(preset_name_list_t& presets) const; + void loadPresetsFromDir(const std::string& dir); void savePreset(const std::string & name); static std::string getGraphicPresetsDir(); bool removeParamSet(const std::string& name, bool delete_from_disk); @@ -45,7 +47,7 @@ public: preset_name_list_t mPresetNames; -private: +//protected: LLPresetsManager(); ~LLPresetsManager(); |