summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindinglinksets.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-01-09 17:05:06 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-01-09 17:05:06 -0800
commit1eea77add246604315711e9e2635078dc038d42f (patch)
tree47eec119bbaea8c2a5d7a837dc5dbac13b5b7f51 /indra/newview/llfloaterpathfindinglinksets.h
parentea400354ca8daf1614b6c5c6538257042890040d (diff)
PATH-142: Initial pass at hooking up the NavmeshData GET service to the UI.
Diffstat (limited to 'indra/newview/llfloaterpathfindinglinksets.h')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.h b/indra/newview/llfloaterpathfindinglinksets.h
index 4bde806e4d..395994d37e 100644
--- a/indra/newview/llfloaterpathfindinglinksets.h
+++ b/indra/newview/llfloaterpathfindinglinksets.h
@@ -31,35 +31,38 @@
#include "llfloater.h"
class LLSD;
-class LLUICtrl;
-class LLMessageSystem;
+class LLTextBase;
class LLScrollListCtrl;
+class NavmeshDataGetResponder;
class LLFloaterPathfindingLinksets
: public LLFloater
{
friend class LLFloaterReg;
+ friend class NavmeshDataGetResponder;
public:
virtual BOOL postBuild();
virtual void onOpen(const LLSD& pKey);
static void openLinksetsEditor();
- static void handleLandStatReply(LLMessageSystem *pMsg, void **pData);
protected:
private:
- LLScrollListCtrl *mLinksetsScrollList;
- LLUICtrl *mLinksetsStatus;
+ LLScrollListCtrl *mLinksetsScrollList;
+ LLTextBase *mLinksetsStatus;
+ NavmeshDataGetResponder *mNavmeshDataGetResponder;
// Does its own instance management, so clients not allowed
// to allocate or destroy.
LLFloaterPathfindingLinksets(const LLSD& pSeed);
virtual ~LLFloaterPathfindingLinksets();
- void sendLandStatRequest();
- void handleLandStatReply(LLMessageSystem *pMsg);
+ void sendNavmeshDataGetRequest();
+ void handleNavmeshDataGetReply(const LLSD& pNavmeshData);
+ void handleNavmeshDataGetError(const std::string& pURL, const std::string& pErrorReason);
+ void clearNavmeshDataResponder();
void onLinksetsSelectionChange();
void onRefreshLinksetsClicked();
@@ -72,6 +75,8 @@ private:
void updateLinksetsStatus();
void updateLinksetsStatusForFetch();
+ void updateLinksetsStatusForFetchInProgress();
+ void updateLinksetsStatusForFetchError();
};
#endif // LL_LLFLOATERPATHFINDINGLINKSETS_H