diff options
author | Tofu Buzzard <no-email> | 2011-03-16 22:44:29 +0000 |
---|---|---|
committer | Tofu Buzzard <no-email> | 2011-03-16 22:44:29 +0000 |
commit | 0671b6abc5acee0e7df879f9a10506aa42c2169c (patch) | |
tree | baf736cc9a5f9de8fb1fa9f9bf95be0dacc7b72f /indra/llui/llnotifications.h | |
parent | 1dffa1c78cd623fe8c930e128312260647bf91e7 (diff) | |
parent | 752b3fdbe044069635a2c6cd000c481561985954 (diff) |
merge
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; |