diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-10-28 16:21:14 -0700 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-10-28 16:21:14 -0700 |
commit | d993ce14d83530544c0e0f05af10d235999d9a5f (patch) | |
tree | b1b9de442fb35d81ad73b1fc3391bc3bde71d878 /indra/newview/llchathistory.h | |
parent | 9cfcb53d1904d868e1e3f640baf794aba9ffbb2a (diff) | |
parent | 7d87e55c547a537526ee121dc68df6513d513f05 (diff) |
merge
Diffstat (limited to 'indra/newview/llchathistory.h')
-rw-r--r-- | indra/newview/llchathistory.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llchathistory.h b/indra/newview/llchathistory.h index 69066a0110..92dcfdd958 100644 --- a/indra/newview/llchathistory.h +++ b/indra/newview/llchathistory.h @@ -34,6 +34,7 @@ #define LLCHATHISTORY_H_ #include "lltexteditor.h" +#include "llchat.h" //Chat log widget allowing addition of a message as a widget class LLChatHistory : public LLTextEditor @@ -85,7 +86,7 @@ class LLChatHistory : public LLTextEditor * @param time time of a message. * @return pointer to LLView header object. */ - LLView* getHeader(const LLUUID& avatar_id, std::string& from, std::string& time); + LLView* getHeader(const LLChat& chat); public: ~LLChatHistory(); @@ -94,11 +95,11 @@ class LLChatHistory : public LLTextEditor * Appends a widget message. * If last user appended message, concurs with current user, * separator is added before the message, otherwise header is added. - * @param from owner of a message. + * @param chat - base chat message. * @param time time of a message. * @param message message itself. */ - void appendWidgetMessage(const LLUUID& avatar_id, std::string& from, std::string& time, std::string& message, LLStyle::Params& style_params); + void appendWidgetMessage(const LLChat& chat, LLStyle::Params& style_params); private: std::string mLastFromName; |