From 50ec228b02026a4ddc3e108df6a8d7709c713d53 Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Mon, 1 Oct 2018 16:45:19 +0300 Subject: SL-9660 EEP Remove residual code (LLFloaterEditDayCycle and LLEnvironment::UserPrefs) --- indra/newview/llenvironment.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'indra/newview/llenvironment.h') diff --git a/indra/newview/llenvironment.h b/indra/newview/llenvironment.h index 32a99c4286..aa7afd14bd 100644 --- a/indra/newview/llenvironment.h +++ b/indra/newview/llenvironment.h @@ -103,37 +103,6 @@ public: typedef boost::signals2::connection connection_t; - class UserPrefs - { - friend class LLEnvironment; - public: - UserPrefs(); - - bool getUseRegionSettings() const { return mUseRegionSettings; } - bool getUseDayCycle() const { return mUseDayCycle; } - bool getUseFixedSky() const { return !getUseDayCycle(); } - - std::string getWaterPresetName() const { return mWaterPresetName; } - std::string getSkyPresetName() const { return mSkyPresetName; } - std::string getDayCycleName() const { return mDayCycleName; } - - void setUseRegionSettings(bool val); - void setUseWaterPreset(const std::string& name); - void setUseSkyPreset(const std::string& name); - void setUseDayCycle(const std::string& name); - - private: - void load(); - void store(); - - bool mUseRegionSettings; - bool mUseDayCycle; - bool mPersistEnvironment; - std::string mWaterPresetName; - std::string mSkyPresetName; - std::string mDayCycleName; - }; - typedef std::pair fixedEnvironment_t; typedef std::function environment_apply_fn; typedef boost::signals2::signal env_changed_signal_t; @@ -142,10 +111,6 @@ public: virtual ~LLEnvironment(); - void loadPreferences(); - void updatePreferences(); - const UserPrefs & getPreferences() const { return mUserPrefs; } - bool canEdit() const; bool isExtendedEnvironmentEnabled() const; bool isInventoryEnabled() const; @@ -349,8 +314,6 @@ private: env_changed_signal_t mSignalEnvChanged; - UserPrefs mUserPrefs; - S32 mCurrentTrack; altitude_list_t mTrackAltitudes; -- cgit v1.2.3