diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llpanelavatar.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llpanelavatar.h')
-rw-r--r-- | linden/indra/newview/llpanelavatar.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/linden/indra/newview/llpanelavatar.h b/linden/indra/newview/llpanelavatar.h index 2a3d36c..c0ef260 100644 --- a/linden/indra/newview/llpanelavatar.h +++ b/linden/indra/newview/llpanelavatar.h | |||
@@ -84,7 +84,7 @@ public: | |||
84 | // when they are first displayed. | 84 | // when they are first displayed. |
85 | // type is one of "avatarnotesrequest", "avatarpicksrequest", | 85 | // type is one of "avatarnotesrequest", "avatarpicksrequest", |
86 | // or "avatarclassifiedsrequest" | 86 | // or "avatarclassifiedsrequest" |
87 | void sendAvatarProfileRequestIfNeeded(const char* method); | 87 | void sendAvatarProfileRequestIfNeeded(const std::string& method); |
88 | 88 | ||
89 | private: | 89 | private: |
90 | LLPanelAvatar* mPanelAvatar; | 90 | LLPanelAvatar* mPanelAvatar; |
@@ -147,10 +147,9 @@ public: | |||
147 | 147 | ||
148 | void setWebURL(std::string url); | 148 | void setWebURL(std::string url); |
149 | 149 | ||
150 | void load(); | ||
151 | void load(std::string url); | 150 | void load(std::string url); |
152 | static void onClickLoad(void* data); | 151 | static void onURLKeystroke(LLLineEditor* editor, void* data); |
153 | static void onClickOpen(void* data); | 152 | static void onCommitLoad(LLUICtrl* ctrl, void* data); |
154 | static void onCommitURL(LLUICtrl* ctrl, void* data); | 153 | static void onCommitURL(LLUICtrl* ctrl, void* data); |
155 | static void onClickWebProfileHelp(void *); | 154 | static void onClickWebProfileHelp(void *); |
156 | 155 | ||
@@ -159,7 +158,7 @@ public: | |||
159 | virtual void onLocationChange( const EventType& eventIn ); | 158 | virtual void onLocationChange( const EventType& eventIn ); |
160 | 159 | ||
161 | private: | 160 | private: |
162 | std::string mURL; | 161 | std::string mHome; |
163 | LLWebBrowserCtrl* mWebBrowser; | 162 | LLWebBrowserCtrl* mWebBrowser; |
164 | }; | 163 | }; |
165 | 164 | ||
@@ -207,7 +206,7 @@ public: | |||
207 | class LLPanelAvatarClassified : public LLPanelAvatarTab | 206 | class LLPanelAvatarClassified : public LLPanelAvatarTab |
208 | { | 207 | { |
209 | public: | 208 | public: |
210 | LLPanelAvatarClassified(const LLString& name, const LLRect& rect, LLPanelAvatar* panel_avatar); | 209 | LLPanelAvatarClassified(const std::string& name, const LLRect& rect, LLPanelAvatar* panel_avatar); |
211 | 210 | ||
212 | /*virtual*/ BOOL postBuild(void); | 211 | /*virtual*/ BOOL postBuild(void); |
213 | 212 | ||
@@ -279,7 +278,7 @@ public: | |||
279 | // Fill in the avatar ID and handle some field fill-in, as well as | 278 | // Fill in the avatar ID and handle some field fill-in, as well as |
280 | // button enablement. | 279 | // button enablement. |
281 | // Pass one of the ONLINE_STATUS_foo constants above. | 280 | // Pass one of the ONLINE_STATUS_foo constants above. |
282 | void setAvatarID(const LLUUID &avatar_id, const LLString &name, EOnlineStatus online_status); | 281 | void setAvatarID(const LLUUID &avatar_id, const std::string &name, EOnlineStatus online_status); |
283 | 282 | ||
284 | void setOnlineStatus(EOnlineStatus online_status); | 283 | void setOnlineStatus(EOnlineStatus online_status); |
285 | 284 | ||
@@ -326,9 +325,9 @@ public: | |||
326 | private: | 325 | private: |
327 | void enableOKIfReady(); | 326 | void enableOKIfReady(); |
328 | 327 | ||
329 | static void finishKick(S32 option, const LLString& text, void* userdata); | 328 | static void finishKick(S32 option, const std::string& text, void* userdata); |
330 | static void finishFreeze(S32 option, const LLString& text, void* userdata); | 329 | static void finishFreeze(S32 option, const std::string& text, void* userdata); |
331 | static void finishUnfreeze(S32 option, const LLString& text, void* userdata); | 330 | static void finishUnfreeze(S32 option, const std::string& text, void* userdata); |
332 | 331 | ||
333 | static void showProfileCallback(S32 option, void *userdata); | 332 | static void showProfileCallback(S32 option, void *userdata); |
334 | 333 | ||
@@ -374,7 +373,7 @@ private: | |||
374 | }; | 373 | }; |
375 | 374 | ||
376 | // helper funcs | 375 | // helper funcs |
377 | void add_left_label(LLPanel *panel, const LLString& name, S32 y); | 376 | void add_left_label(LLPanel *panel, const std::string& name, S32 y); |
378 | 377 | ||
379 | 378 | ||
380 | #endif // LL_LLPANELAVATAR_H | 379 | #endif // LL_LLPANELAVATAR_H |