summaryrefslogtreecommitdiff
path: root/indra/newview/lltoast.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-12-20 09:19:21 -0500
committerOz Linden <oz@lindenlab.com>2011-12-20 09:19:21 -0500
commit540dc4b955639cc201b98eedd1372a02eabf098c (patch)
tree527deb7748bfbc6f859f42a837be84a18688e83e /indra/newview/lltoast.h
parentc7a79760106ae97a3a6a1fd55417eef471b0ccab (diff)
parent8ca5050231b37fc92b5d123b3564cbec6c11778d (diff)
merge up to latest viewer-development
Diffstat (limited to 'indra/newview/lltoast.h')
-rw-r--r--indra/newview/lltoast.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/lltoast.h b/indra/newview/lltoast.h
index 77229e7beb..0b06728935 100644
--- a/indra/newview/lltoast.h
+++ b/indra/newview/lltoast.h
@@ -27,7 +27,7 @@
#ifndef LL_LLTOAST_H
#define LL_LLTOAST_H
-
+#include "llinstancetracker.h"
#include "llpanel.h"
#include "llmodaldialog.h"
#include "lleventtimer.h"
@@ -69,7 +69,7 @@ private :
* Represents toast pop-up.
* This is a parent view for all toast panels.
*/
-class LLToast : public LLModalDialog
+class LLToast : public LLModalDialog, public LLInstanceTracker<LLToast>
{
friend class LLToastLifeTimer;
public:
@@ -102,6 +102,8 @@ public:
Params();
};
+
+ static void updateClass();
LLToast(const LLToast::Params& p);
virtual ~LLToast();
@@ -221,7 +223,7 @@ private:
F32 mToastLifetime; // in seconds
F32 mToastFadingTime; // in seconds
-
+
LLPanel* mPanel;
LLButton* mHideBtn;