diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-09-11 17:45:45 -0700 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-09-11 17:45:45 -0700 |
commit | 7b78e72bf148d20a402eadb8629bf15dc2f100a3 (patch) | |
tree | 4209d49b18635a5c58317268965641ce89f69287 /indra/newview/llconversationview.h | |
parent | ef39011f433d93ea72cf636d4c415b468f776a01 (diff) | |
parent | cb8ce1141837cc450756764e03a4564f8ab0c9eb (diff) |
merging in latest changes
Diffstat (limited to 'indra/newview/llconversationview.h')
-rwxr-xr-x | indra/newview/llconversationview.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/newview/llconversationview.h b/indra/newview/llconversationview.h index 98eb32d44e..a7946f4d06 100755 --- a/indra/newview/llconversationview.h +++ b/indra/newview/llconversationview.h @@ -39,6 +39,8 @@ #include "lloutputmonitorctrl.h" class LLIMFloaterContainer; +class LLConversationViewSession; +class LLConversationViewParticipant; // Implementation of conversations list session widgets @@ -62,6 +64,9 @@ public: virtual ~LLConversationViewSession( void ) { } virtual void selectItem(); void setVisibleIfDetached(BOOL visible); + LLConversationViewParticipant* findParticipant(const LLUUID& participant_id); + + virtual void refresh(); }; // Implementation of conversations list participant (avatar) widgets @@ -76,6 +81,7 @@ public: struct Params : public LLInitParam::Block<Params, LLFolderViewItem::Params> { Optional<LLIMFloaterContainer*> container; + Optional<LLUUID> participant_id; Optional<LLButton::Params> info_button; Optional<LLOutputMonitorCtrl::Params> output_monitor; @@ -84,9 +90,11 @@ public: virtual ~LLConversationViewParticipant( void ) { } virtual void draw(); + bool hasSameValue(const LLUUID& uuid) { return (uuid == mUUID); } + virtual void refresh(); protected: - friend class LLUICtrlFactory; + friend class LLUICtrlFactory; LLConversationViewParticipant( const Params& p ); void initFromParams(const Params& params); BOOL postBuild(); @@ -96,8 +104,7 @@ protected: private: LLButton* createProfileButton(); LLButton * mInfoBtn; - - + LLUUID mUUID; // UUID of the participant }; #endif // LL_LLCONVERSATIONVIEW_H |