diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-21 07:00:20 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-21 07:00:20 -0400 |
commit | d3023153e9c7aa2eaf18468e8d81aebf0d6223e0 (patch) | |
tree | f1265d15e702f1dd449476fd5e7b956ccd7f33f8 /indra/llui/llnotifications.h | |
parent | 7766d424d0f8cf8a6c882f50bc4dd04bf8f2096b (diff) | |
parent | cb47ae3264f3d9d22add17f2cbc5699c8620705f (diff) |
merge changes for storm-1035
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; |