summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationlistitem.h
diff options
context:
space:
mode:
authorpavelkproductengine <pavelkproductengine@lindenlab.com>2015-07-31 17:49:45 +0300
committerpavelkproductengine <pavelkproductengine@lindenlab.com>2015-07-31 17:49:45 +0300
commit5665c5320c50180e69e3616613b7796da919a721 (patch)
treecc493aa669c9a4478e3eb9318896837ce6a342c7 /indra/newview/llnotificationlistitem.h
parentf0f95036a4dade0b918d6be152b9789905bdaa22 (diff)
MAINT-5394 [Project Notice] The PERMISSION_DEBIT notification is not distinct enough on the Project Notice viewer.
Diffstat (limited to 'indra/newview/llnotificationlistitem.h')
-rw-r--r--indra/newview/llnotificationlistitem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llnotificationlistitem.h b/indra/newview/llnotificationlistitem.h
index 86b1128de0..4df21951a1 100644
--- a/indra/newview/llnotificationlistitem.h
+++ b/indra/newview/llnotificationlistitem.h
@@ -59,6 +59,7 @@ public:
LLDate time_stamp;
LLDate received_time;
LLSD inventory_offer;
+ e_notification_priority notification_priority;
Params() {};
};
@@ -87,6 +88,7 @@ public:
boost::signals2::connection setOnItemCloseCallback(item_callback_t cb) { return mOnItemClose.connect(cb); }
boost::signals2::connection setOnItemClickCallback(item_callback_t cb) { return mOnItemClick.connect(cb); }
+ virtual bool showPopup() { return true; }
void setExpanded(BOOL value);
virtual BOOL postBuild();
@@ -162,6 +164,8 @@ public:
static std::set<std::string> getTypes();
virtual BOOL postBuild();
+ /*virtual*/ bool showPopup() { return false; }
+
private:
friend class LLNotificationListItem;
LLGroupInviteNotificationListItem(const Params& p);
@@ -188,6 +192,8 @@ public:
static std::set<std::string> getTypes();
virtual BOOL postBuild();
+ /*virtual*/ bool showPopup() { return false; }
+
private:
friend class LLNotificationListItem;
LLGroupNoticeNotificationListItem(const Params& p);
@@ -232,6 +238,7 @@ private:
LLSystemNotificationListItem & operator=(LLSystemNotificationListItem &);
LLIconCtrl* mSystemNotificationIcon;
LLIconCtrl* mSystemNotificationIconExp;
+ bool mIsCaution;
};
#endif // LL_LLNOTIFICATIONLISTITEM_H