diff options
author | Jeff (Gioffredo Linden) <gioffredo@lindenlab.com> | 2012-10-12 18:14:57 -0400 |
---|---|---|
committer | Jeff (Gioffredo Linden) <gioffredo@lindenlab.com> | 2012-10-12 18:14:57 -0400 |
commit | 48c7e2cee70996048b0974c6cdda67cdea11a32c (patch) | |
tree | dad1c39d591b0a71b48c72ca3912150b48a633ad /indra/newview/llchathistory.cpp | |
parent | 1100a84b38494b480b0820bae36c6c8ca2bf12c6 (diff) |
Expose Chat history to VITA by adding getValue method to llchathistory object
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rw-r--r-- | indra/newview/llchathistory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 3636f9e9d2..deb658c489 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -596,6 +596,14 @@ LLChatHistory::LLChatHistory(const LLChatHistory::Params& p) mEditor = LLUICtrlFactory::create<LLTextEditor>(editor_params, this); } +LLSD LLChatHistory::getValue() +{ + LLSD* text=new LLSD(); + text->assign(mEditor->getText()); + return *text; + +} + LLChatHistory::~LLChatHistory() { this->clear(); |