summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.h
diff options
context:
space:
mode:
authorprep linden <prep@lindenlab.com>2010-11-18 16:05:35 -0500
committerprep linden <prep@lindenlab.com>2010-11-18 16:05:35 -0500
commitd4b055b0860cda675ed0af94ea7e8fc9e64ceb93 (patch)
tree81f9c742e3c206ba87ecb70c834c1426724f5f78 /indra/newview/llfloaterpreference.h
parente9dd8af1cecceb75c234236dcc9c6451f9b83e34 (diff)
Move include in search results from profile window to preference privacy pane
Diffstat (limited to 'indra/newview/llfloaterpreference.h')
-rw-r--r--indra/newview/llfloaterpreference.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.h b/indra/newview/llfloaterpreference.h
index e99731b92e..9601ea1cd7 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);
@@ -76,6 +77,12 @@ public:
// translate user's busy response message according to current locale if message is default, otherwise do nothing
static void initBusyResponse();
+
+ //prep
+ void processProperties( void* pData, EAvatarProcessorType type );
+ void processProfileProperties(const LLAvatarData* pAvatarData );
+ void storeAvatarProperties( const LLAvatarData* pAvatarData );
+ void saveAvatarProperties( void );
protected:
void onBtnOK();
@@ -150,6 +157,8 @@ private:
bool mOriginalHideOnlineStatus;
std::string mDirectoryVisibility;
+ //prep
+ LLAvatarData mAvatarProperties;
};
class LLPanelPreference : public LLPanel