diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-03-15 01:18:27 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-03-15 01:18:27 +0000 |
commit | 672a76d0ea08a0d0fc824e103ee4c4242b7e03ec (patch) | |
tree | b623a9c884383ad75ed755b2c373db2b90643671 /indra/newview/llagent.h | |
parent | 04611efae8a3291ceba8a29dd920bdae0d404830 (diff) |
reverting premature commit at 82410.
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r-- | indra/newview/llagent.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h index 50830a75f0..469d2e4fe0 100644 --- a/indra/newview/llagent.h +++ b/indra/newview/llagent.h @@ -36,7 +36,6 @@ #include "indra_constants.h" #include "llmath.h" -#include "llcontrol.h" #include "llcoordframe.h" #include "llevent.h" #include "llagentconstants.h" @@ -226,8 +225,8 @@ public: // update internal datastructures and update the server with the // new contribution level. Returns true if the group id was found // and contribution could be set. - BOOL setGroupContribution(const LLUUID& group_id, S32 contribution); - BOOL setUserGroupFlags(const LLUUID& group_id, BOOL accept_notices, BOOL list_in_profile); + BOOL setGroupContribution(const LLUUID& group_id, S32 contribution); + BOOL setUserGroupFlags(const LLUUID& group_id, BOOL accept_notices, BOOL list_in_profile); void setHideGroupTitle(BOOL hide) { mHideGroupTitle = hide; } // @@ -687,6 +686,7 @@ protected: BOOL notify = TRUE); public: // TODO: Make these private! + U32 mViewerPort; // Port this agent transmits on. LLUUID mSecureSessionID; // secure token for this login session F32 mDrawDistance; @@ -932,6 +932,21 @@ private: LLPointer<LLRefCount> mCB; }; + //control listeners + class LLHideGroupTitleListener: public LLSimpleListener + { + public: + bool handleEvent(LLPointer<LLEvent> event, const LLSD &userdata); + }; + + class LLEffectColorListener: public LLSimpleListener + { + public: + bool handleEvent(LLPointer<LLEvent> event, const LLSD &userdata); + }; + + LLHideGroupTitleListener mHideGroupTitleListener; + LLEffectColorListener mEffectColorListener; LLFriendObserver* mFriendObserver; }; |