diff options
author | angela <angela@lindenlab.com> | 2009-10-30 10:48:10 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-10-30 10:48:10 +0800 |
commit | 22e29b1a856343a13ca5c3f015226cf6544fd9e8 (patch) | |
tree | 78b4dc789106678ebb1643f49a5d090e323db05a /indra/newview/llavatarlist.h | |
parent | a74e12d26b645063c4373c8354667423dec2d3f0 (diff) | |
parent | 5c4ec60c966bd1857fb195f73d2d09117b783f9a (diff) |
merge
Diffstat (limited to 'indra/newview/llavatarlist.h')
-rw-r--r-- | indra/newview/llavatarlist.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llavatarlist.h b/indra/newview/llavatarlist.h index f60f1f00f3..8f2f0249a6 100644 --- a/indra/newview/llavatarlist.h +++ b/indra/newview/llavatarlist.h @@ -37,6 +37,8 @@ #include "llavatarlistitem.h" +class LLTimer; + /** * Generic list of avatars. * @@ -56,11 +58,12 @@ public: struct Params : public LLInitParam::Block<Params, LLFlatListView::Params> { Optional<bool> ignore_online_status; // show all items as online + Optional<bool> show_last_interaction_time; // show most recent interaction time. *HACK: move this to a derived class Params(); }; LLAvatarList(const Params&); - virtual ~LLAvatarList() {} + virtual ~LLAvatarList(); virtual void draw(); // from LLView @@ -85,13 +88,16 @@ protected: const std::vector<LLUUID>& vnew, std::vector<LLUUID>& vadded, std::vector<LLUUID>& vremoved); + void updateLastInteractionTimes(); private: bool mIgnoreOnlineStatus; + bool mShowLastInteractionTime; bool mDirty; bool mShowIcons; + LLTimer* mLITUpdateTimer; // last interaction time update timer std::string mIconParamName; std::string mNameFilter; uuid_vector_t mIDs; |