diff options
Diffstat (limited to 'linden/indra/newview/llfloaterhtmlhelp.h')
-rw-r--r-- | linden/indra/newview/llfloaterhtmlhelp.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloaterhtmlhelp.h b/linden/indra/newview/llfloaterhtmlhelp.h index 7722fbd..deb5c4c 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 | ||
@@ -55,9 +66,6 @@ public: | |||
55 | void buildURLHistory(); | 66 | void buildURLHistory(); |
56 | 67 | ||
57 | static LLFloaterMediaBrowser* showInstance(const LLSD& id); | 68 | static LLFloaterMediaBrowser* showInstance(const LLSD& id); |
58 | |||
59 | static void toggle(); | ||
60 | static void helpF1(); | ||
61 | static void onEnterAddress(LLUICtrl* ctrl, void* user_data); | 69 | static void onEnterAddress(LLUICtrl* ctrl, void* user_data); |
62 | static void onClickRefresh(void* user_data); | 70 | static void onClickRefresh(void* user_data); |
63 | static void onClickBack(void* user_data); | 71 | static void onClickBack(void* user_data); |
@@ -68,15 +76,14 @@ public: | |||
68 | static void onClickAssign(void* user_data); | 76 | static void onClickAssign(void* user_data); |
69 | static void onClickHome(void* user_data); | 77 | static void onClickHome(void* user_data); |
70 | static void onClickSetHome(void* user_data); | 78 | static void onClickSetHome(void* user_data); |
71 | static void onClickF1HelpLoadURL(S32 option, void* userdata); | ||
72 | 79 | ||
73 | private: | 80 | private: |
74 | LLWebBrowserCtrl* mBrowser; | 81 | LLWebBrowserCtrl* mBrowser; |
75 | LLComboBox* mAddressCombo; | 82 | LLComboBox* mAddressCombo; |
76 | std::string mCurrentURL; | 83 | std::string mCurrentURL; |
77 | |||
78 | static LLFloaterMediaBrowser* sInstance; | ||
79 | }; | 84 | }; |
80 | 85 | ||
86 | extern LLViewerHtmlHelp gViewerHtmlHelp; | ||
87 | |||
81 | #endif // LL_LLFLOATERHTMLHELP_H | 88 | #endif // LL_LLFLOATERHTMLHELP_H |
82 | 89 | ||