diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2012-09-11 17:45:49 +0300 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2012-09-11 17:45:49 +0300 |
commit | 1e2dcbfb3fbc8717ea594365ff165115b29df83a (patch) | |
tree | 5f84d41dfa78d9eef7f9d258e92b95da9c47b22e /indra/newview/llconversationloglist.h | |
parent | 20b95f6ac0a63ce36cb1a7f51505bbf9ef8015c2 (diff) |
CHUI-326 FIXED (One entry per conversation with a user in conversation log timestamped with most recent utterance/activity.)
- Modified LLConversationLog to show only one entry per conversation with user. I.e. there can't be two conversations with the same session_id in LLConversationLog.
- Got rid of processing voice sessions
- Refactored creation of conversation in LLConversationLog
- Refactored a little bit LLConversation and LLConversationLog: function names and made some functions private
Diffstat (limited to 'indra/newview/llconversationloglist.h')
-rw-r--r-- | indra/newview/llconversationloglist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llconversationloglist.h b/indra/newview/llconversationloglist.h index 5e7fc0a9fb..62ec57e09e 100644 --- a/indra/newview/llconversationloglist.h +++ b/indra/newview/llconversationloglist.h @@ -43,6 +43,12 @@ class LLConversationLogList: public LLFlatListViewEx, public LLConversationLogOb { LOG_CLASS(LLConversationLogList); public: + + typedef enum e_sort_oder{ + E_SORT_BY_NAME = 0, + E_SORT_BY_DATE = 1, + } ESortOrder; + struct Params : public LLInitParam::Block<Params, LLFlatListViewEx::Params> { Params(){}; @@ -90,6 +96,9 @@ private: LLIMModel::LLIMSession::SType getSelectedSessionType(); const LLConversationLogListItem* getSelectedConversationPanel(); const LLConversation* getSelectedConversation(); + LLConversationLogListItem* getConversationLogListItem(const LLUUID& session_id); + + ESortOrder getSortOrder(); LLHandle<LLToggleableMenu> mContextMenu; bool mIsDirty; |