diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-12-26 13:25:22 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-12-26 13:25:22 +0200 |
commit | 4c4c78872898bc7a8fdbc5f403b667a0c7896719 (patch) | |
tree | fd85b0a36829153e62d7f9c463fe47145b48746b /indra/newview/llnotificationhandler.h | |
parent | 18e3fd3e0a765309039571d9dc12a68590cfbf75 (diff) |
Fixed normal bug EXT-3643 (Make Friend Offer dialog a modal alert)
-- made dialog a modal alert
-- logging to IM is left as it was
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationhandler.h')
-rw-r--r-- | indra/newview/llnotificationhandler.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h index 33ef4c81cd..0fb438bfe9 100644 --- a/indra/newview/llnotificationhandler.h +++ b/indra/newview/llnotificationhandler.h @@ -277,6 +277,13 @@ public: static bool canSpawnIMSession(const LLNotificationPtr& notification); /** + * Checks if passed notification can create IM session and be written into it. + * + * This method uses canLogToIM() & canSpawnIMSession(). + */ + static bool canSpawnSessionAndLogToIM(const LLNotificationPtr& notification); + + /** * Writes notification message to IM session. */ static void logToIM(const EInstantMessage& session_type, @@ -303,6 +310,15 @@ public: * Spawns IM session. */ static void spawnIMSession(const std::string& name, const LLUUID& from_id); + + /** + * Returns name from the notification's substitution. + * + * Methods gets "NAME" or "[NAME]" from the substitution map. + * + * @param notification - Notification which substitution's name will be returned. + */ + static std::string getSubstitutionName(const LLNotificationPtr& notification); }; } |