diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-01-07 10:14:33 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-01-07 10:14:33 -0500 |
commit | 61e3c95dbf8282dbce5455a7adc466d9c2108a13 (patch) | |
tree | 1d7f029348b6a5c5c66413d00898190fc338e8c2 /indra/newview/llfloaterpreference.h | |
parent | 38ab28511473fb6882bab0d5a1ce3f372c48a171 (diff) | |
parent | 09c01c4e925833873a83665fe0642637b65e547e (diff) |
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llfloaterpreference.h')
-rw-r--r-- | indra/newview/llfloaterpreference.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.h b/indra/newview/llfloaterpreference.h index 0f51189853..165de9f42d 100644 --- a/indra/newview/llfloaterpreference.h +++ b/indra/newview/llfloaterpreference.h @@ -34,6 +34,7 @@ #define LL_LLFLOATERPREFERENCE_H #include "llfloater.h" +#include "llavatarpropertiesprocessor.h" class LLPanelPreference; class LLPanelLCD; @@ -55,7 +56,7 @@ typedef enum // Floater to control preferences (display, audio, bandwidth, general. -class LLFloaterPreference : public LLFloater +class LLFloaterPreference : public LLFloater, public LLAvatarPropertiesObserver { public: LLFloaterPreference(const LLSD& key); @@ -77,6 +78,11 @@ public: // translate user's busy response message according to current locale if message is default, otherwise do nothing static void initBusyResponse(); + void processProperties( void* pData, EAvatarProcessorType type ); + void processProfileProperties(const LLAvatarData* pAvatarData ); + void storeAvatarProperties( const LLAvatarData* pAvatarData ); + void saveAvatarProperties( void ); + protected: void onBtnOK(); void onBtnCancel(); @@ -164,6 +170,8 @@ private: bool mOriginalHideOnlineStatus; std::string mDirectoryVisibility; + + LLAvatarData mAvatarProperties; }; class LLPanelPreference : public LLPanel |