diff options
author | Jonathan Yap <jhwelch@gmail.com> | 2014-11-30 11:24:22 -0500 |
---|---|---|
committer | Jonathan Yap <jhwelch@gmail.com> | 2014-11-30 11:24:22 -0500 |
commit | 563e22e81c6bf14bca6370b098a257f94f4f843f (patch) | |
tree | 4835333aa4dadfbc1ce37224ed40f6b2a12bc56b /indra/newview/llpresetsmanager.h | |
parent | 34a79a6ece28fbc560bde907142ecaadf95e910f (diff) |
STORM-2082 Make code more generic to handle the future camera presets.
Diffstat (limited to 'indra/newview/llpresetsmanager.h')
-rw-r--r-- | indra/newview/llpresetsmanager.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/indra/newview/llpresetsmanager.h b/indra/newview/llpresetsmanager.h index 128c5850f2..3a2542bda0 100644 --- a/indra/newview/llpresetsmanager.h +++ b/indra/newview/llpresetsmanager.h @@ -42,13 +42,11 @@ public: typedef std::list<std::string> preset_name_list_t; typedef boost::signals2::signal<void()> preset_list_signal_t; - void setPresetNamesInComboBox(LLComboBox* combo); - void getPresetNames(preset_name_list_t& presets) const; - void loadPresetNamesFromDir(const std::string& dir); - void savePreset(const std::string & name); + static std::string getPresetsDir(const std::string& subdirectory); + void setPresetNamesInComboBox(const std::string& subdirectory, LLComboBox* combo); + void loadPresetNamesFromDir(const std::string& dir, preset_name_list_t& presets); + void savePreset(const std::string& subdirectory, const std::string & name); void loadPreset(const std::string & name); - static std::string getCameraPresetsDir(); - static std::string getGraphicPresetsDir(); bool deletePreset(const std::string& name); /// Emitted when a preset gets loaded or deleted. @@ -60,8 +58,6 @@ public: LLPresetsManager(); ~LLPresetsManager(); - static std::string getUserDir(const std::string& subdirectory); - preset_list_signal_t mPresetListChangeSignal; }; |