summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationhandler.h
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2009-12-09 18:00:55 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2009-12-09 18:00:55 +0200
commit8728bddc7c23490c56f477a27225bc71c49bea9c (patch)
tree3bc890419d913f96f2f7830224490505dd5150d0 /indra/newview/llnotificationhandler.h
parentd5f7f1b723a14b15862c38469424133087353bf3 (diff)
mplemented EXT-2798 “Record online/offline notifications into IM history only”,
excluded FriendOnline, FriendOffline notifications from logging to nearby chat; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationhandler.h')
-rw-r--r--indra/newview/llnotificationhandler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h
index 5c240aa54a..83a8dcd9f0 100644
--- a/indra/newview/llnotificationhandler.h
+++ b/indra/newview/llnotificationhandler.h
@@ -266,6 +266,11 @@ public:
static bool canLogToIM(const LLNotificationPtr& notification);
/**
+ * Checks sufficient conditions to log notification message to nearby chat session.
+ */
+ static bool canLogToNearbyChat(const LLNotificationPtr& notification);
+
+ /**
* Checks sufficient conditions to spawn IM session.
*/
static bool canSpawnIMSession(const LLNotificationPtr& notification);
@@ -287,6 +292,11 @@ public:
* Writes group notice notification message to IM group session.
*/
static void logGroupNoticeToIMGroup(const LLNotificationPtr& notification);
+
+ /**
+ * Writes notification message to nearby chat.
+ */
+ static void logToNearbyChat(const LLNotificationPtr& notification, EChatSourceType type);
};
}