diff options
author | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-02-28 15:35:14 -0800 |
---|---|---|
committer | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-02-28 15:35:14 -0800 |
commit | 93eaccae6fe6e8442a3c6e5a2d40a408aa44df77 (patch) | |
tree | 7e115b8278532bb100b07b8ed56d213b383d4c96 /indra/newview/lltoast.h | |
parent | 2dcbbf04c9375e2de877956476e0a58219a169cf (diff) |
Modify LLInstanceTracker to avoid using a map of strings to find a map of foo to find some pointers
Diffstat (limited to 'indra/newview/lltoast.h')
-rw-r--r-- | indra/newview/lltoast.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltoast.h b/indra/newview/lltoast.h index e1d99b1bcb..8f77e7b78b 100644 --- a/indra/newview/lltoast.h +++ b/indra/newview/lltoast.h @@ -69,10 +69,11 @@ private : * Represents toast pop-up. * This is a parent view for all toast panels. */ -class LLToast : public LLModalDialog, public LLInstanceTracker<LLToast> +class LLToast : public LLModalDialog, public INSTANCE_TRACKER(LLToast) { friend class LLToastLifeTimer; public: + typedef boost::function<void (LLToast* toast)> toast_callback_t; typedef boost::signals2::signal<void (LLToast* toast)> toast_signal_t; typedef boost::signals2::signal<void (LLToast* toast, bool mouse_enter)> toast_hover_check_signal_t; |