summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofileview.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2009-11-03 15:55:53 -0700
committerXiaohong Bao <bao@lindenlab.com>2009-11-03 15:55:53 -0700
commit81e719387983990fe0a2a197a6e09059219c119a (patch)
treef9f8b1bcab20e99413311f758dac521a3093050b /indra/newview/llpanelprofileview.h
parenteaa1ce61b084f23746934e0a7b899242045d691b (diff)
parent9637333708a84a73784248cb842df68e520a311a (diff)
merge
Diffstat (limited to 'indra/newview/llpanelprofileview.h')
-rw-r--r--indra/newview/llpanelprofileview.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llpanelprofileview.h b/indra/newview/llpanelprofileview.h
index 07a6c3a9a0..b59d1d42f3 100644
--- a/indra/newview/llpanelprofileview.h
+++ b/indra/newview/llpanelprofileview.h
@@ -40,6 +40,7 @@
class LLPanelProfile;
class LLPanelProfileTab;
class LLTextBox;
+class AvatarStatusObserver;
/**
* Panel for displaying Avatar's profile. It consists of three sub panels - Profile,
@@ -49,6 +50,7 @@ class LLPanelProfileView : public LLPanelProfile
{
LOG_CLASS(LLPanelProfileView);
friend class LLUICtrlFactory;
+ friend class AvatarStatusObserver;
public:
@@ -65,8 +67,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 +81,8 @@ private:
BOOL is_group);
LLTextBox* mStatusText;
+ AvatarStatusObserver* mAvatarStatusObserver;
+ bool mAvatarIsOnline;
};
#endif //LL_LLPANELPROFILEVIEW_H