summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofileview.h
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-10-30 19:30:23 +0200
committerMike Antipov <mantipov@productengine.com>2009-10-30 19:30:23 +0200
commit73efd4802b8f02f86599e6b7ab7220b9f9fe2dc0 (patch)
tree692451292923ca7dcd0afb29fb34f0f6b3adfb8c /indra/newview/llpanelprofileview.h
parentb2526cde2393ca7d84284b254fb4f37b9e8abb5b (diff)
Implemented major task EXT-2022 (Show profile online status for non-friend avatar too.)
- imlemented like in viewer 1.23 behavior: show Online status according to avatar properties requested from server. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelprofileview.h')
-rw-r--r--indra/newview/llpanelprofileview.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llpanelprofileview.h b/indra/newview/llpanelprofileview.h
index 07a6c3a9a0..e89ed07b53 100644
--- a/indra/newview/llpanelprofileview.h
+++ b/indra/newview/llpanelprofileview.h
@@ -49,6 +49,7 @@ class LLPanelProfileView : public LLPanelProfile
{
LOG_CLASS(LLPanelProfileView);
friend class LLUICtrlFactory;
+ friend class AvatarStatusObserver;
public:
@@ -65,8 +66,9 @@ public:
protected:
void onBackBtnClick();
- bool isGrantedToSeeOnlineStatus();
- void updateOnlineStatus();
+ bool isGrantedToSeeOnlineStatus(); // deprecated after EXT-2022 is implemented
+ void updateOnlineStatus(); // deprecated after EXT-2022 is implemented
+ void processOnlineStatus(bool online);
private:
// LLCacheName will call this function when avatar name is loaded from server.
@@ -78,6 +80,8 @@ private:
BOOL is_group);
LLTextBox* mStatusText;
+ AvatarStatusObserver* mAvatarStatusObserver;
+ bool mAvatarIsOnline;
};
#endif //LL_LLPANELPROFILEVIEW_H