summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelavatar.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelavatar.h')
-rw-r--r--indra/newview/llpanelavatar.h63
1 files changed, 23 insertions, 40 deletions
diff --git a/indra/newview/llpanelavatar.h b/indra/newview/llpanelavatar.h
index f72eb1990d..2b0fbaf193 100644
--- a/indra/newview/llpanelavatar.h
+++ b/indra/newview/llpanelavatar.h
@@ -34,37 +34,10 @@
#define LL_LLPANELAVATAR_H
#include "llpanel.h"
-#include "v3dmath.h"
-#include "lluuid.h"
-#include "llwebbrowserctrl.h"
-
#include "llavatarpropertiesprocessor.h"
-class LLButton;
-class LLCheckBoxCtrl;
class LLComboBox;
-class LLDropTarget;
-class LLInventoryItem;
class LLLineEditor;
-class LLNameEditor;
-class LLPanelAvatar;
-class LLScrollListCtrl;
-class LLTabContainer;
-class LLTextBox;
-class LLTextEditor;
-class LLTextureCtrl;
-class LLUICtrl;
-class LLViewerImage;
-class LLViewerObject;
-class LLMessageSystem;
-class LLIconCtrl;
-class LLWebBrowserCtrl;
-class LLVector3d;
-class LLFloaterReg;
-
-class LLPanelMeProfile;
-class LLPanelPick;
-class LLAgent;
enum EOnlineStatus
{
@@ -87,7 +60,9 @@ public:
const LLUUID& getAvatarId(){return mAvatarId;}
virtual void updateData() = 0;
-
+
+ virtual void onOpen(const LLSD& key);
+
virtual void onActivate(const LLUUID& id);
typedef enum e_profile_type
@@ -109,6 +84,9 @@ protected:
virtual ~LLPanelProfileTab();
void setProfileType();
+private:
+ void scrollToTop();
+
protected:
e_profile_type mProfileType;
LLUUID mAvatarId;
@@ -133,17 +111,7 @@ public:
virtual void clearControls();
/*virtual*/ BOOL postBuild(void);
- void onOpen(const LLSD& key);
-
- void onAddFriendButtonClick();
-
- void onIMButtonClick();
-
- void onCallButtonClick();
-
- void onTeleportButtonClick();
-
- void onShareButtonClick();
+ /*virtual*/ void onOpen(const LLSD& key);
private:
bool isOwnProfile(){return PT_OWN == mProfileType;}
@@ -152,7 +120,18 @@ private:
void onStatusChanged();
void onStatusMessageChanged();
void setCaptionText(const LLAvatarData* avatar_data);
- void scrollToTop();
+
+ static void onUrlTextboxClicked(std::string url);
+ void onHomepageTextboxClicked();
+ void onUpdateAccountTextboxClicked();
+ void onMyAccountTextboxClicked();
+ void onPartnerEditTextboxClicked();
+
+ void onAddFriendButtonClick();
+ void onIMButtonClick();
+ void onCallButtonClick();
+ void onTeleportButtonClick();
+ void onShareButtonClick();
protected:
@@ -175,6 +154,8 @@ public:
static void* create(void* data);
+ void onActivate(const LLUUID& id);
+
BOOL postBuild(void);
void onCommitRights();
@@ -188,6 +169,8 @@ public:
void updateData();
protected:
+
+ void updateChildrenList();
};