Maybe we need this... not sure, but probably going to be needed for LUA script support later anyway
parent
7c519ee4d5
commit
d77680e9f4
|
|
@ -1263,8 +1263,7 @@ LLNotifications::LLNotifications()
|
|||
: LLNotificationChannelBase(LLNotificationFilters::includeEverything),
|
||||
mIgnoreAllNotifications(false)
|
||||
{
|
||||
// <FS:Ansariel> Disable test API
|
||||
//mListener.reset(new LLNotificationsListener(*this));
|
||||
mListener.reset(new LLNotificationsListener(*this));
|
||||
LLUICtrl::CommitCallbackRegistry::currentRegistrar().add("Notification.Show", boost::bind(&LLNotifications::addFromCallback, this, _2));
|
||||
|
||||
// touch the instance tracker for notification channels, so that it will still be around in our destructor
|
||||
|
|
|
|||
|
|
@ -98,8 +98,7 @@
|
|||
#include "llrefcount.h"
|
||||
#include "llsdparam.h"
|
||||
|
||||
// <FS:Ansariel> Disable test API
|
||||
//#include "llnotificationslistener.h"
|
||||
#include "llnotificationslistener.h"
|
||||
|
||||
class LLAvatarName;
|
||||
typedef enum e_notification_priority
|
||||
|
|
@ -999,8 +998,7 @@ private:
|
|||
|
||||
bool mIgnoreAllNotifications;
|
||||
|
||||
// <FS:Ansariel> Disable test API
|
||||
//std::unique_ptr<LLNotificationsListener> mListener;
|
||||
std::unique_ptr<LLNotificationsListener> mListener;
|
||||
|
||||
std::vector<LLNotificationChannelPtr> mDefaultChannels;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue