summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-10-01 16:12:48 -0700
committerRider Linden <rider@lindenlab.com>2018-10-01 16:12:48 -0700
commitfdfb60ecb10a35efdc378ae507e1c65114a987a3 (patch)
tree05a183987a0fb2464855df1b193b7bb035c61745 /indra/newview/llenvironment.h
parent6e7d794b01673c138a50859c0e513732cb89fc8b (diff)
parent1d94f7e9ebd663853c81d60aec796accadf43c70 (diff)
Merge
Diffstat (limited to 'indra/newview/llenvironment.h')
-rw-r--r--indra/newview/llenvironment.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/indra/newview/llenvironment.h b/indra/newview/llenvironment.h
index a605f791a5..65c4748d02 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<LLSettingsSky::ptr_t, LLSettingsWater::ptr_t> fixedEnvironment_t;
typedef std::function<void(S32, EnvironmentInfo::ptr_t)> environment_apply_fn;
typedef boost::signals2::signal<void(EnvSelection_t)> env_changed_signal_t;
@@ -143,10 +112,6 @@ public:
virtual ~LLEnvironment();
- void loadPreferences();
- void updatePreferences();
- const UserPrefs & getPreferences() const { return mUserPrefs; }
-
bool canEdit() const;
bool isExtendedEnvironmentEnabled() const;
bool isInventoryEnabled() const;
@@ -350,8 +315,6 @@ private:
env_changed_signal_t mSignalEnvChanged;
- UserPrefs mUserPrefs;
-
S32 mCurrentTrack;
altitude_list_t mTrackAltitudes;