summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhud.h
blob: 9cbf239c181f6ae55d382d30c32991f0e8790d4f (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
/** 
 * @file llfloaterhud.h
 * @brief A floater showing the HUD tutorial
 *
 * $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 : public LLFloater
{
public:
	static LLFloaterHUD* getInstance(); ///< get instance creating if necessary

	static void showHUD(); ///< show the HUD

	// Save our visibility state during close
	/*virtual*/ void onClose(bool app_quitting);

private:
	// Handles its own construction and destruction, so private.
	LLFloaterHUD();
	/*virtual*/ ~LLFloaterHUD();

private:
	LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control
	static LLFloaterHUD* sInstance;
};

#endif // LL_LLFLOATERHUD_H