diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-14 18:04:29 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-14 18:04:29 +0300 |
commit | ab431d1774d5b282836a3327dd0bfa8b3b91632b (patch) | |
tree | 22e89504eb196f0310b5473d299950c8ea8476f6 /indra/newview/lldaycyclemanager.h | |
parent | 4fd946fa3e5217b8f64e0fcd91d268c7eaf1bbf5 (diff) |
STORM-1305 WIP User day cycles now go first in all lists.
Diffstat (limited to 'indra/newview/lldaycyclemanager.h')
-rw-r--r-- | indra/newview/lldaycyclemanager.h | 7 |
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; |