summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-10-07 12:20:06 -0700
committerLeslie Linden <leslie@lindenlab.com>2011-10-07 12:20:06 -0700
commit3ba9bd536b036fda89d467729870cfac0c5727b8 (patch)
tree71d0b1e1f515c503422ff7899d488c7523602de4 /indra/newview/llagent.h
parentddcd51beac061b79268c939a4e3ed48ec87fb907 (diff)
* "search" floater now only minimized after teleport if it is visible to begin
with. * LLAgent now keeps track of whether or not the agent can build in the current parcel. * Hooked up is_enabled_function to build and speak commands.
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 5e23ced424..1775a0235c 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -575,6 +575,15 @@ private:
** **
*******************************************************************************/
+ // Build
+public:
+ bool canEditParcel() const { return mCanEditParcel; }
+private:
+ bool mCanEditParcel;
+
+ static bool isActionAllowed(const LLSD& sdname);
+ static void parcelChangedCallback();
+
/********************************************************************************
** **
** ACCESS