diff options
| author | Baker Linden <baker@lindenlab.com> | 2013-12-18 18:25:47 -0500 | 
|---|---|---|
| committer | Baker Linden <baker@lindenlab.com> | 2013-12-18 18:25:47 -0500 | 
| commit | 3c521d8207092f1c48e158082b88c5e81cc9c440 (patch) | |
| tree | 36a18cfaed8fc4e3ee2a84604f3876832522e529 /indra/llui/llnotifications.h | |
| parent | 74707f0057c05dc4dd439302e64fe29e8ed91a32 (diff) | |
| parent | 1a9b9f1bd1b5f64b35b9ce6eff458cdb7a79fe6e (diff) | |
viewer-release merge
Diffstat (limited to 'indra/llui/llnotifications.h')
| -rwxr-xr-x | indra/llui/llnotifications.h | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h index 87573c2a56..6ac4a98806 100755 --- a/indra/llui/llnotifications.h +++ b/indra/llui/llnotifications.h @@ -98,6 +98,8 @@  #include "llrefcount.h"  #include "llsdparam.h" +#include "llnotificationslistener.h" +  class LLAvatarName;  typedef enum e_notification_priority  { @@ -138,6 +140,7 @@ typedef LLFunctorRegistration<LLNotificationResponder> LLNotificationFunctorRegi  class LLNotificationContext : public LLInstanceTracker<LLNotificationContext, LLUUID>  {  public: +  	LLNotificationContext() : LLInstanceTracker<LLNotificationContext, LLUUID>(LLUUID::generateNewID())  	{  	} @@ -873,6 +876,13 @@ class LLNotifications :  	friend class LLSingleton<LLNotifications>;  public: + +    // Needed to clear up RefCounted things prior to actual destruction +    // as the singleton nature of the class makes them do "bad things" +    // on at least Mac, if not all 3 platforms +    // +    void clear(); +  	// load all notification descriptions from file  	// calling more than once will overwrite existing templates  	// but never delete a template @@ -970,6 +980,8 @@ private:  	bool mIgnoreAllNotifications; +	boost::scoped_ptr<LLNotificationsListener> mListener; +  	std::vector<LLNotificationChannelPtr> mDefaultChannels;  };  | 
