From 516ad5b3c234321daf01294d6e03bdc4be019d36 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Fri, 17 Feb 2012 19:03:16 -0800 Subject: PATH-292: Implementing the new freeze/unfreeze functionality on the basic panel. --- indra/newview/llfloaterpathfindingbasic.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'indra/newview/llfloaterpathfindingbasic.h') diff --git a/indra/newview/llfloaterpathfindingbasic.h b/indra/newview/llfloaterpathfindingbasic.h index cd51964339..356a270ca0 100644 --- a/indra/newview/llfloaterpathfindingbasic.h +++ b/indra/newview/llfloaterpathfindingbasic.h @@ -29,7 +29,7 @@ #define LL_LLFLOATERPATHFINDINGBASIC_H #include "llfloater.h" -#include "llhandle.h" +#include "llpathfindingmanager.h" class LLSD; class LLTextBase; @@ -55,16 +55,16 @@ private: void onUnfreezeClicked(); void onFreezeClicked(); - std::string getCapabilityURL() const; + void onAgentStateCB(LLPathfindingManager::EAgentState pAgentState); - void updateOnFrozenState(); + void setAgentState(LLPathfindingManager::EAgentState pAgentState); - LLTextBase *mRegionNotEnabledText; - LLTextBase *mUnfreezeLabel; - LLButton *mUnfreezeButton; - LLTextBase *mFreezeLabel; - LLButton *mFreezeButton; - bool mIsRegionFrozenXXX; // XXX stinson : Feb 15, 2012 : I think this will be unneeded with the service + LLTextBase *mStatusText; + LLTextBase *mUnfreezeLabel; + LLButton *mUnfreezeButton; + LLTextBase *mFreezeLabel; + LLButton *mFreezeButton; + LLPathfindingManager::EAgentState mAgentState; }; #endif // LL_LLFLOATERPATHFINDINGBASIC_H -- cgit v1.2.3