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/llfloaterhtml.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 'linden/indra/newview/llfloaterhtml.h')
-rw-r--r-- | linden/indra/newview/llfloaterhtml.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/linden/indra/newview/llfloaterhtml.h b/linden/indra/newview/llfloaterhtml.h index 2f6164c..ffefdf4 100644 --- a/linden/indra/newview/llfloaterhtml.h +++ b/linden/indra/newview/llfloaterhtml.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /** | 1 | /** |
2 | * @file llfloaterhtml.h | 2 | * @file llfloaterhtml.h |
3 | * @author James Cook | 3 | * @author James Cook |
4 | * @brief In-world HTML dialog | 4 | * @brief In-world HTML dialog |
@@ -49,12 +49,12 @@ class LLFloaterHtml : | |||
49 | virtual void onClose( bool app_quitting ); | 49 | virtual void onClose( bool app_quitting ); |
50 | 50 | ||
51 | // Pass string like "in-world_help" or "additional help" | 51 | // Pass string like "in-world_help" or "additional help" |
52 | void show( LLString content_id, bool open_app_slurls ); | 52 | void show( LLString content_id, bool open_app_slurls, bool open_link_external ); |
53 | 53 | ||
54 | // Pass raw URL and window title | 54 | // Pass raw URL and window title |
55 | // Can be set to handle secondlife:///app/ URLs, but this should | 55 | // Can be set to handle secondlife:///app/ URLs, but this should |
56 | // usually be false. | 56 | // usually be false. |
57 | void show( std::string start_url, std::string title, bool open_app_slurls ); | 57 | void show( std::string start_url, std::string title, bool open_app_slurls, bool open_link_external ); |
58 | 58 | ||
59 | static void onClickClose( void* data ); | 59 | static void onClickClose( void* data ); |
60 | static void onClickBack( void* data ); | 60 | static void onClickBack( void* data ); |
@@ -65,22 +65,10 @@ class LLFloaterHtml : | |||
65 | 65 | ||
66 | private: | 66 | private: |
67 | LLFloaterHtml(); | 67 | LLFloaterHtml(); |
68 | #if LL_LIBXUL_ENABLED | ||
69 | LLWebBrowserCtrl* mWebBrowser; | 68 | LLWebBrowserCtrl* mWebBrowser; |
70 | #endif // LL_LIBXUL_ENABLED | ||
71 | static LLFloaterHtml* sInstance; | 69 | static LLFloaterHtml* sInstance; |
72 | LLButton* mCloseButton; | 70 | LLButton* mCloseButton; |
73 | }; | 71 | }; |
74 | 72 | ||
75 | class LLViewerHtmlHelp : public LLHtmlHelp | ||
76 | { | ||
77 | public: | ||
78 | LLViewerHtmlHelp(); | ||
79 | virtual ~LLViewerHtmlHelp(); | ||
80 | |||
81 | /*virtual*/ void show(std::string start_url = "", std::string title = ""); | ||
82 | }; | ||
83 | |||
84 | extern LLViewerHtmlHelp gViewerHtmlHelp; | ||
85 | 73 | ||
86 | #endif | 74 | #endif |