summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhud.h
blob: 06da9fb44ef4e41a70adb513c73e51af0335bceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/** 
 * @file llfloaterhud.h
 * @brief The HUD floater
 *
 * $LicenseInfo:firstyear=2008&license=viewergpl$
 * Copyright (c) 2008, Linden Research, Inc.
 * $/LicenseInfo$
 */

#ifndef LL_LLFLOATERHUD_H
#define LL_LLFLOATERHUD_H

#include "llfloater.h"

class LLWebBrowserCtrl;

//=============================================================================
//
//	CLASS		LLFloaterHUD

class LLFloaterHUD : public LLFloater

/*!	@brief		A floater showing the HUD tutorial
*/
{
public:
	static LLFloaterHUD* getInstance(); ///< get instance creating if necessary
	virtual ~LLFloaterHUD(); ///< virtual destructor

	static std::string sTutorialUrl;

	static void show(); ///< show the HUD
	static void close(); ///< close the HUD (destroys floater)

protected:
	LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control

	LLFloaterHUD(); ///< default constructor

private:
	static LLFloaterHUD* sInstance;
};

#endif // LL_LLFLOATERHUD_H