diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterhtml.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/linden/indra/newview/llfloaterhtml.h b/linden/indra/newview/llfloaterhtml.h deleted file mode 100644 index e236ffe..0000000 --- a/linden/indra/newview/llfloaterhtml.h +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | /** | ||
2 | * @file llfloaterhtml.h | ||
3 | * @author James Cook | ||
4 | * @brief In-world HTML dialog | ||
5 | * | ||
6 | * $LicenseInfo:firstyear=2005&license=viewergpl$ | ||
7 | * | ||
8 | * Copyright (c) 2005-2008, Linden Research, Inc. | ||
9 | * | ||
10 | * Second Life Viewer Source Code | ||
11 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
12 | * to you under the terms of the GNU General Public License, version 2.0 | ||
13 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
14 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
17 | * | ||
18 | * There are special exceptions to the terms and conditions of the GPL as | ||
19 | * it is applied to this Source Code. View the full text of the exception | ||
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
22 | * | ||
23 | * By copying, modifying or distributing this software, you acknowledge | ||
24 | * that you have read and understood your obligations described above, | ||
25 | * and agree to abide by those obligations. | ||
26 | * | ||
27 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
28 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
29 | * COMPLETENESS OR PERFORMANCE. | ||
30 | * $/LicenseInfo$ | ||
31 | */ | ||
32 | |||
33 | #ifndef LL_LLFLOATERHTML_H | ||
34 | #define LL_LLFLOATERHTML_H | ||
35 | |||
36 | #include "llfloater.h" | ||
37 | #include "llhtmlhelp.h" | ||
38 | |||
39 | class LLWebBrowserCtrl; | ||
40 | |||
41 | class LLFloaterHtml : | ||
42 | public LLFloater | ||
43 | { | ||
44 | public: | ||
45 | static LLFloaterHtml* getInstance(); | ||
46 | virtual ~LLFloaterHtml(); | ||
47 | |||
48 | virtual void draw(); | ||
49 | virtual void onClose( bool app_quitting ); | ||
50 | |||
51 | // Pass string like "in-world_help" or "additional help" | ||
52 | void show( std::string content_id, bool open_link_external, bool open_app_slurls ); | ||
53 | |||
54 | // Pass raw URL and window title | ||
55 | // Can be set to handle secondlife:///app/ URLs, but this should | ||
56 | // usually be false. | ||
57 | void show( std::string start_url, std::string title, bool open_link_external, bool open_app_slurls ); | ||
58 | |||
59 | std::string getSupportUrl(); | ||
60 | |||
61 | static void onClickClose( void* data ); | ||
62 | static void onClickBack( void* data ); | ||
63 | static void onClickHome( void* data ); | ||
64 | static void onClickForward( void* data ); | ||
65 | static void onCommitUrlEdit(LLUICtrl* ctrl, void* user_data); | ||
66 | static void onClickGo( void* data ); | ||
67 | |||
68 | private: | ||
69 | LLFloaterHtml(); | ||
70 | |||
71 | LLWebBrowserCtrl* mWebBrowser; | ||
72 | static LLFloaterHtml* sInstance; | ||
73 | LLButton* mCloseButton; | ||
74 | }; | ||
75 | |||
76 | #endif | ||