summaryrefslogtreecommitdiff
path: root/indra/llcommon/lleventapi.h
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2011-09-08 09:46:04 -0500
committerAndrew A. de Laix <alain@lindenlab.com>2011-09-08 09:46:04 -0500
commit2d19a2002501d44ce18080b6f26ceaf2dbf796e9 (patch)
tree1053ccf7b2eb2881c77909fa9b90afd09447329c /indra/llcommon/lleventapi.h
parent9fd8fb15d9ef4de3c22605ec4a0745eb67ae9550 (diff)
add getInfo to LLView to get state information about ui elements.
Diffstat (limited to 'indra/llcommon/lleventapi.h')
-rw-r--r--indra/llcommon/lleventapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/lleventapi.h b/indra/llcommon/lleventapi.h
index 64d038ade4..1a37d780b6 100644
--- a/indra/llcommon/lleventapi.h
+++ b/indra/llcommon/lleventapi.h
@@ -149,6 +149,11 @@ public:
* @endcode
*/
LLSD& operator[](const LLSD::String& key) { return mResp[key]; }
+
+ /**
+ * set the response to the given data
+ */
+ void setResponse(LLSD const & response){ mResp = response; }
LLSD mResp, mReq;
LLSD::String mKey;