diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-01-15 20:36:48 -0800 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-01-15 20:36:48 -0800 |
commit | de9e2c38126682e5c6215151e3389380a93b8bc0 (patch) | |
tree | b5247933dbe5cd0366c6e9811ee7fd8e9d39a4fb /indra/newview/llcommunicationchannel.h | |
parent | 028ceaef1441cbd2d87b294c6cfe7193a6b8bbd7 (diff) |
CHUI-668: Code review changes
Diffstat (limited to 'indra/newview/llcommunicationchannel.h')
-rw-r--r-- | indra/newview/llcommunicationchannel.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llcommunicationchannel.h b/indra/newview/llcommunicationchannel.h index c07933118d..0d8f7f4387 100644 --- a/indra/newview/llcommunicationchannel.h +++ b/indra/newview/llcommunicationchannel.h @@ -44,13 +44,17 @@ public: static bool filterByDoNotDisturbStatus(LLNotificationPtr); typedef std::multimap<LLDate, LLNotificationPtr> history_list_t; + S32 getHistorySize() const; history_list_t::const_iterator beginHistory() const; history_list_t::const_iterator endHistory() const; - + history_list_t::iterator beginHistory(); + history_list_t::iterator endHistory(); + void clearHistory(); - void removeItem(history_list_t::const_iterator itemToRemove); + void removeItemFromHistory(LLNotificationPtr p); protected: + virtual void onDelete(LLNotificationPtr p); virtual void onFilterFail(LLNotificationPtr pNotificationPtr); private: |