summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterconversationpreview.h
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2012-08-28 14:48:32 +0300
committerPaul ProductEngine <pguslisty@productengine.com>2012-08-28 14:48:32 +0300
commitd4ee17e533d652e90989e60bcbc097c81e73d081 (patch)
treed1782ac876502d12455e8bff3981ba60aae3737e /indra/newview/llfloaterconversationpreview.h
parenta1a1410d25c3e4ff87e33344b416b7a827cdb1c2 (diff)
CHUI-275 FIXED (Chat history viewer does not show entire user.txt IM log file)
- Renamed LLLogChat::loadAllHistory to LLLogChat::loadChatHistory because it doesn't actually loads all history. Also added parameter to the function which is a flag whether to load all file's content or not. - Implemented displaying history by pages (as was decided on meeting page): Added showHistory() method to the LLFloaterConversationPreview which shows the chat history page by page starting from the last conversation (or may say starting from the last page). One page contains 100 entries. Added "More history..." button to display next page of history.
Diffstat (limited to 'indra/newview/llfloaterconversationpreview.h')
-rw-r--r--indra/newview/llfloaterconversationpreview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloaterconversationpreview.h b/indra/newview/llfloaterconversationpreview.h
index cfc7c34485..5105ef3702 100644
--- a/indra/newview/llfloaterconversationpreview.h
+++ b/indra/newview/llfloaterconversationpreview.h
@@ -42,10 +42,15 @@ public:
virtual void onOpen(const LLSD& session_id);
private:
- void appendMessage(const LLChat& chat);
+ void onMoreHistoryBtnClick();
+ void showHistory();
LLChatHistory* mChatHistory;
LLUUID mSessionID;
+ int mCurrentPage;
+ int mPageSize;
+
+ std::list<LLSD> mMessages;
};
#endif /* LLFLOATERCONVERSATIONPREVIEW_H_ */