diff options
Diffstat (limited to 'linden/indra/newview/llfloaterhtml.h')
-rw-r--r-- | linden/indra/newview/llfloaterhtml.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterhtml.h b/linden/indra/newview/llfloaterhtml.h index daef04b..9a09baf 100644 --- a/linden/indra/newview/llfloaterhtml.h +++ b/linden/indra/newview/llfloaterhtml.h | |||
@@ -1,10 +1,11 @@ | |||
1 | /** | 1 | /** |
2 | * @file llfloaterhtml.h | 2 | * @file llfloaterhtml.h |
3 | * @author James Cook | 3 | * @author James Cook |
4 | * @brief In-world web browser | 4 | * @brief In-world HTML dialog |
5 | * | 5 | * |
6 | * Copyright (c) 2005-2007, Linden Research, Inc. | 6 | * Copyright (c) 2005-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -29,6 +30,30 @@ | |||
29 | #ifndef LL_LLFLOATERHTML_H | 30 | #ifndef LL_LLFLOATERHTML_H |
30 | #define LL_LLFLOATERHTML_H | 31 | #define LL_LLFLOATERHTML_H |
31 | 32 | ||
32 | BOOL process_secondlife_url(LLString url); | 33 | #include "llwebbrowserctrl.h" |
34 | #include "llfloater.h" | ||
33 | 35 | ||
34 | #endif | 36 | class LLFloaterHtml : |
37 | public LLFloater, | ||
38 | public LLWebBrowserCtrlObserver | ||
39 | { | ||
40 | public: | ||
41 | static LLFloaterHtml* getInstance(); | ||
42 | virtual ~LLFloaterHtml(); | ||
43 | |||
44 | virtual void onClose( bool app_quitting ); | ||
45 | |||
46 | void show( LLString content_id ); | ||
47 | static void onClickClose( void* data ); | ||
48 | |||
49 | // observable browser events | ||
50 | virtual void onClickLinkSecondLife( const EventType& eventIn ); | ||
51 | |||
52 | private: | ||
53 | LLFloaterHtml(); | ||
54 | LLWebBrowserCtrl* mWebBrowser; | ||
55 | static LLFloaterHtml* sInstance; | ||
56 | LLButton* mCloseButton; | ||
57 | }; | ||
58 | |||
59 | #endif \ No newline at end of file | ||