diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-24 13:22:43 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-24 13:22:43 -0400 |
commit | fb1facf13a2f7413b42802bd7293d504eb4e4174 (patch) | |
tree | 9f0e5b980fa2d2e2d4bf97902610456fa279d6cd /indra/llui/llnotifications.h | |
parent | a4f2c570dd42066f0e2738a0fd2de6c61c35b47b (diff) | |
parent | 1c375a8c880354432da2b218c321ed708497e161 (diff) |
syncing up to viewer-development
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; |