summaryrefslogtreecommitdiff
path: root/indra/newview/lldaycyclemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldaycyclemanager.h')
-rw-r--r--indra/newview/lldaycyclemanager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/lldaycyclemanager.h b/indra/newview/lldaycyclemanager.h
index 032e336491..3d2144960d 100644
--- a/indra/newview/lldaycyclemanager.h
+++ b/indra/newview/lldaycyclemanager.h
@@ -43,10 +43,15 @@ class LLDayCycleManager : public LLSingleton<LLDayCycleManager>
LOG_CLASS(LLDayCycleManager);
public:
+ typedef std::list<std::string> preset_name_list_t;
+
typedef std::map<std::string, LLWLDayCycle> dc_map_t;
typedef boost::signals2::signal<void()> modify_signal_t;
- const dc_map_t& getPresets();
+ void getPresetNames(preset_name_list_t& names) const;
+ void getPresetNames(preset_name_list_t& user, preset_name_list_t& sys) const;
+ void getUserPresetNames(preset_name_list_t& user) const;
+
bool getPreset(const std::string name, LLWLDayCycle& day_cycle) const;
bool getPreset(const std::string name, LLSD& day_cycle) const;
bool presetExists(const std::string name) const;