diff options
Diffstat (limited to 'linden/indra/newview/llfloaterhtmlhelp.h')
-rw-r--r-- | linden/indra/newview/llfloaterhtmlhelp.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloaterhtmlhelp.h b/linden/indra/newview/llfloaterhtmlhelp.h index 7722fbd..fa04f06 100644 --- a/linden/indra/newview/llfloaterhtmlhelp.h +++ b/linden/indra/newview/llfloaterhtmlhelp.h | |||
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -36,6 +37,16 @@ | |||
36 | #include "llfloater.h" | 37 | #include "llfloater.h" |
37 | #include "llwebbrowserctrl.h" | 38 | #include "llwebbrowserctrl.h" |
38 | 39 | ||
40 | class LLViewerHtmlHelp : public LLHtmlHelp | ||
41 | { | ||
42 | public: | ||
43 | LLViewerHtmlHelp(); | ||
44 | virtual ~LLViewerHtmlHelp(); | ||
45 | |||
46 | /*virtual*/ void show(); | ||
47 | /*virtual*/ void show(std::string start_url); | ||
48 | }; | ||
49 | |||
39 | class LLComboBox; | 50 | class LLComboBox; |
40 | class LLWebBrowserCtrl; | 51 | class LLWebBrowserCtrl; |
41 | 52 | ||
@@ -58,6 +69,8 @@ public: | |||
58 | 69 | ||
59 | static void toggle(); | 70 | static void toggle(); |
60 | static void helpF1(); | 71 | static void helpF1(); |
72 | |||
73 | private: | ||
61 | static void onEnterAddress(LLUICtrl* ctrl, void* user_data); | 74 | static void onEnterAddress(LLUICtrl* ctrl, void* user_data); |
62 | static void onClickRefresh(void* user_data); | 75 | static void onClickRefresh(void* user_data); |
63 | static void onClickBack(void* user_data); | 76 | static void onClickBack(void* user_data); |
@@ -68,15 +81,14 @@ public: | |||
68 | static void onClickAssign(void* user_data); | 81 | static void onClickAssign(void* user_data); |
69 | static void onClickHome(void* user_data); | 82 | static void onClickHome(void* user_data); |
70 | static void onClickSetHome(void* user_data); | 83 | static void onClickSetHome(void* user_data); |
71 | static void onClickF1HelpLoadURL(S32 option, void* userdata); | 84 | static bool onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response); |
72 | 85 | ||
73 | private: | ||
74 | LLWebBrowserCtrl* mBrowser; | 86 | LLWebBrowserCtrl* mBrowser; |
75 | LLComboBox* mAddressCombo; | 87 | LLComboBox* mAddressCombo; |
76 | std::string mCurrentURL; | 88 | std::string mCurrentURL; |
77 | |||
78 | static LLFloaterMediaBrowser* sInstance; | ||
79 | }; | 89 | }; |
80 | 90 | ||
91 | extern LLViewerHtmlHelp gViewerHtmlHelp; | ||
92 | |||
81 | #endif // LL_LLFLOATERHTMLHELP_H | 93 | #endif // LL_LLFLOATERHTMLHELP_H |
82 | 94 | ||