aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelavatar.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpanelavatar.h
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelavatar.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/linden/indra/newview/llpanelavatar.h b/linden/indra/newview/llpanelavatar.h
index 318b4cf..2a3d36c 100644
--- a/linden/indra/newview/llpanelavatar.h
+++ b/linden/indra/newview/llpanelavatar.h
@@ -35,7 +35,6 @@
35#include "llpanel.h" 35#include "llpanel.h"
36#include "v3dmath.h" 36#include "v3dmath.h"
37#include "lluuid.h" 37#include "lluuid.h"
38#include "linked_lists.h"
39#include "llwebbrowserctrl.h" 38#include "llwebbrowserctrl.h"
40 39
41class LLButton; 40class LLButton;
@@ -46,7 +45,7 @@ class LLLineEditor;
46class LLNameEditor; 45class LLNameEditor;
47class LLPanelAvatar; 46class LLPanelAvatar;
48class LLScrollListCtrl; 47class LLScrollListCtrl;
49class LLTabContainerCommon; 48class LLTabContainer;
50class LLTextBox; 49class LLTextBox;
51class LLTextEditor; 50class LLTextEditor;
52class LLTextureCtrl; 51class LLTextureCtrl;
@@ -137,9 +136,7 @@ private:
137// WARNING! The order of the inheritance here matters!! Do not change. - KLW 136// WARNING! The order of the inheritance here matters!! Do not change. - KLW
138class LLPanelAvatarWeb : 137class LLPanelAvatarWeb :
139 public LLPanelAvatarTab 138 public LLPanelAvatarTab
140#if LL_LIBXUL_ENABLED
141 , public LLWebBrowserCtrlObserver 139 , public LLWebBrowserCtrlObserver
142#endif
143{ 140{
144public: 141public:
145 LLPanelAvatarWeb(const std::string& name, const LLRect& rect, LLPanelAvatar* panel_avatar); 142 LLPanelAvatarWeb(const std::string& name, const LLRect& rect, LLPanelAvatar* panel_avatar);
@@ -157,11 +154,9 @@ public:
157 static void onCommitURL(LLUICtrl* ctrl, void* data); 154 static void onCommitURL(LLUICtrl* ctrl, void* data);
158 static void onClickWebProfileHelp(void *); 155 static void onClickWebProfileHelp(void *);
159 156
160#if LL_LIBXUL_ENABLED
161 // browser observer impls 157 // browser observer impls
162 virtual void onStatusTextChange( const EventType& eventIn ); 158 virtual void onStatusTextChange( const EventType& eventIn );
163 virtual void onLocationChange( const EventType& eventIn ); 159 virtual void onLocationChange( const EventType& eventIn );
164#endif
165 160
166private: 161private:
167 std::string mURL; 162 std::string mURL;
@@ -306,6 +301,7 @@ public:
306 void selectTabByName(std::string tab_name); 301 void selectTabByName(std::string tab_name);
307 302
308 BOOL haveData() { return mHaveProperties && mHaveStatistics; } 303 BOOL haveData() { return mHaveProperties && mHaveStatistics; }
304 BOOL isEditable() const { return mAllowEdit; }
309 305
310 static void processAvatarPropertiesReply(LLMessageSystem *msg, void **); 306 static void processAvatarPropertiesReply(LLMessageSystem *msg, void **);
311 static void processAvatarInterestsReply(LLMessageSystem *msg, void **); 307 static void processAvatarInterestsReply(LLMessageSystem *msg, void **);
@@ -370,7 +366,7 @@ private:
370 // note is changed from database version 366 // note is changed from database version
371 bool mHaveNotes; 367 bool mHaveNotes;
372 std::string mLastNotes; 368 std::string mLastNotes;
373 LLTabContainerCommon* mTab; 369 LLTabContainer* mTab;
374 BOOL mAllowEdit; 370 BOOL mAllowEdit;
375 371
376 typedef std::list<LLPanelAvatar*> panel_list_t; 372 typedef std::list<LLPanelAvatar*> panel_list_t;