summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingmanager.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-02-27 16:15:16 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-02-27 16:15:16 -0800
commit1503338ddcd170871815d70d328cbbd1dfd40c82 (patch)
tree18eb20ecff0b4c9f8273d7fe02404ee71f6e3cb6 /indra/newview/llpathfindingmanager.h
parent518bc51e668570beeec5f13fd2f3cc4d28f66551 (diff)
PATH-292: Ensuring that the terrain linkset is not visible and/or editable to a non-estate non-god agent.
Diffstat (limited to 'indra/newview/llpathfindingmanager.h')
-rw-r--r--indra/newview/llpathfindingmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpathfindingmanager.h b/indra/newview/llpathfindingmanager.h
index 4b6fd49640..9a6bbb81b9 100644
--- a/indra/newview/llpathfindingmanager.h
+++ b/indra/newview/llpathfindingmanager.h
@@ -38,6 +38,7 @@
#include "llpathfindinglinksetlist.h"
class LLFloater;
+class LLViewerRegion;
class LLPathfindingManager : public LLSingleton<LLPathfindingManager>
{
@@ -70,6 +71,7 @@ public:
bool isPathfindingEnabledForCurrentRegion() const;
bool isAllowAlterPermanent();
+ bool isAllowViewTerrainProperties() const;
agent_state_slot_t registerAgentStateSignal(agent_state_callback_t pAgentStateCallback);
EAgentState getAgentState();
@@ -95,6 +97,7 @@ private:
std::string getTerrainLinksetsURLForCurrentRegion() const;
std::string getCapabilityURLForCurrentRegion(const std::string &pCapabilityName) const;
+ LLViewerRegion *getCurrentRegion() const;
agent_state_signal_t mAgentStateSignal;
EAgentState mAgentState;