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/llfloaterhtml.cpp | |
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/llfloaterhtml.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterhtml.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterhtml.cpp b/linden/indra/newview/llfloaterhtml.cpp index 2ad9307..eb09754 100644 --- a/linden/indra/newview/llfloaterhtml.cpp +++ b/linden/indra/newview/llfloaterhtml.cpp | |||
@@ -57,7 +57,7 @@ LLFloaterHtml* LLFloaterHtml::getInstance() | |||
57 | //////////////////////////////////////////////////////////////////////////////// | 57 | //////////////////////////////////////////////////////////////////////////////// |
58 | // | 58 | // |
59 | LLFloaterHtml::LLFloaterHtml() | 59 | LLFloaterHtml::LLFloaterHtml() |
60 | : LLFloater( "HTML Floater" ) | 60 | : LLFloater( std::string("HTML Floater") ) |
61 | 61 | ||
62 | , | 62 | , |
63 | mWebBrowser( 0 ) | 63 | mWebBrowser( 0 ) |
@@ -113,11 +113,11 @@ void LLFloaterHtml::draw() | |||
113 | 113 | ||
114 | //////////////////////////////////////////////////////////////////////////////// | 114 | //////////////////////////////////////////////////////////////////////////////// |
115 | // | 115 | // |
116 | void LLFloaterHtml::show( LLString content_id, bool open_link_external, bool open_app_slurls ) | 116 | void LLFloaterHtml::show( std::string content_id, bool open_link_external, bool open_app_slurls ) |
117 | { | 117 | { |
118 | // calculate the XML labels we'll need (if only XML folders worked) | 118 | // calculate the XML labels we'll need (if only XML folders worked) |
119 | LLString title_str = content_id + "_title"; | 119 | std::string title_str = content_id + "_title"; |
120 | LLString url_str = content_id + "_url"; | 120 | std::string url_str = content_id + "_url"; |
121 | 121 | ||
122 | std::string title = getString( title_str ); | 122 | std::string title = getString( title_str ); |
123 | std::string url = getString( url_str ); | 123 | std::string url = getString( url_str ); |
@@ -146,6 +146,13 @@ void LLFloaterHtml::show( std::string start_url, std::string title, bool open_li | |||
146 | 146 | ||
147 | //////////////////////////////////////////////////////////////////////////////// | 147 | //////////////////////////////////////////////////////////////////////////////// |
148 | // | 148 | // |
149 | std::string LLFloaterHtml::getSupportUrl() | ||
150 | { | ||
151 | return getString("support_page_url"); | ||
152 | } | ||
153 | |||
154 | //////////////////////////////////////////////////////////////////////////////// | ||
155 | // | ||
149 | void LLFloaterHtml::onClose( bool app_quitting ) | 156 | void LLFloaterHtml::onClose( bool app_quitting ) |
150 | { | 157 | { |
151 | setVisible( false ); | 158 | setVisible( false ); |