From 798d367d54a6c6379ad355bd8345fa40e31e7fe9 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 6 Sep 2008 18:24:57 -0500 Subject: Second Life viewer sources 1.21.0-RC --- linden/indra/newview/llfloaterhud.h | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'linden/indra/newview/llfloaterhud.h') diff --git a/linden/indra/newview/llfloaterhud.h b/linden/indra/newview/llfloaterhud.h index a0b1d9f..35221ef 100644 --- a/linden/indra/newview/llfloaterhud.h +++ b/linden/indra/newview/llfloaterhud.h @@ -1,6 +1,6 @@ /** * @file llfloaterhud.h - * @brief The HUD floater + * @brief A floater showing the HUD tutorial * * $LicenseInfo:firstyear=2008&license=viewergpl$ * @@ -36,28 +36,23 @@ 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 void show(); ///< show the HUD - static void close(); ///< close the HUD (destroys floater) + static void showHUD(); ///< show the HUD -protected: - LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control + // Save our visibility state during close + /*virtual*/ void onClose(bool app_quitting); - LLFloaterHUD(); ///< default constructor +private: + // Handles its own construction and destruction, so private. + LLFloaterHUD(); + /*virtual*/ ~LLFloaterHUD(); private: + LLWebBrowserCtrl* mWebBrowser; ///< the actual web browser control static LLFloaterHUD* sInstance; }; -- cgit v1.1