diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpanelavatar.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-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.h | 10 |
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 | ||
41 | class LLButton; | 40 | class LLButton; |
@@ -46,7 +45,7 @@ class LLLineEditor; | |||
46 | class LLNameEditor; | 45 | class LLNameEditor; |
47 | class LLPanelAvatar; | 46 | class LLPanelAvatar; |
48 | class LLScrollListCtrl; | 47 | class LLScrollListCtrl; |
49 | class LLTabContainerCommon; | 48 | class LLTabContainer; |
50 | class LLTextBox; | 49 | class LLTextBox; |
51 | class LLTextEditor; | 50 | class LLTextEditor; |
52 | class LLTextureCtrl; | 51 | class 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 |
138 | class LLPanelAvatarWeb : | 137 | class LLPanelAvatarWeb : |
139 | public LLPanelAvatarTab | 138 | public LLPanelAvatarTab |
140 | #if LL_LIBXUL_ENABLED | ||
141 | , public LLWebBrowserCtrlObserver | 139 | , public LLWebBrowserCtrlObserver |
142 | #endif | ||
143 | { | 140 | { |
144 | public: | 141 | public: |
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 | ||
166 | private: | 161 | private: |
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; |