diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-21 06:59:55 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-21 06:59:55 -0400 |
commit | cb47ae3264f3d9d22add17f2cbc5699c8620705f (patch) | |
tree | c426adad23154cb74711a78174c412ab2a2b8034 /indra/llui/llnotifications.h | |
parent | 2cddf137e3c785dc9efbe7e12b90d239d8eaa958 (diff) | |
parent | 8e0ea2fb7271b6d559ec751d47eb8b2992d4611d (diff) |
merge changes for storm-971
Diffstat (limited to 'indra/llui/llnotifications.h')
-rw-r--r-- | indra/llui/llnotifications.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h index 34d3537781..0c4d4fc897 100644 --- a/indra/llui/llnotifications.h +++ b/indra/llui/llnotifications.h @@ -863,10 +863,11 @@ class LLNotifications : friend class LLSingleton<LLNotifications>; public: - // load notification descriptions from file; - // OK to call more than once because it will reload - bool loadTemplates(); - + // load all notification descriptions from file + // calling more than once will overwrite existing templates + // but never delete a template + bool loadTemplates(); + // load visibility rules from file; // OK to call more than once because it will reload bool loadVisibilityRules(); @@ -950,8 +951,6 @@ private: LLNotificationChannelPtr pHistoryChannel; LLNotificationChannelPtr pExpirationChannel; - // put your template in - bool addTemplate(const std::string& name, LLNotificationTemplatePtr theTemplate); TemplateMap mTemplates; VisibilityRuleList mVisibilityRules; |