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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lldaycyclemanager.h b/indra/newview/lldaycyclemanager.h
index 0d4a474ac6..032e336491 100644
--- a/indra/newview/lldaycyclemanager.h
+++ b/indra/newview/lldaycyclemanager.h
@@ -54,6 +54,9 @@ public:
bool savePreset(const std::string& name, const LLSD& data);
bool deletePreset(const std::string& name);
+ /// @return true if there is a day cycle that refers to the sky preset.
+ bool isSkyPresetReferenced(const std::string& preset_name) const;
+
/// Emitted when a preset gets added or deleted.
boost::signals2::connection setModifyCallback(const modify_signal_t::slot_type& cb);