aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterhtml.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterhtml.h18
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
75class LLViewerHtmlHelp : public LLHtmlHelp
76{
77public:
78 LLViewerHtmlHelp();
79 virtual ~LLViewerHtmlHelp();
80
81 /*virtual*/ void show(std::string start_url = "", std::string title = "");
82};
83
84extern LLViewerHtmlHelp gViewerHtmlHelp;
85 73
86#endif 74#endif