summaryrefslogtreecommitdiff
path: root/indra/newview/llnavmeshstation.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnavmeshstation.h')
-rw-r--r--indra/newview/llnavmeshstation.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llnavmeshstation.h b/indra/newview/llnavmeshstation.h
index ce884c1466..566f6d2d8d 100644
--- a/indra/newview/llnavmeshstation.h
+++ b/indra/newview/llnavmeshstation.h
@@ -31,6 +31,7 @@
#include "llhandle.h"
//===============================================================================
class LLCurlRequest;
+class LLFloaterPathfindingConsole;
//===============================================================================
class LLNavMeshObserver
{
@@ -51,14 +52,19 @@ class LLNavMeshDownloadObserver
{
public:
//Ctor
- LLNavMeshDownloadObserver() { mObserverHandle.bind(this); }
+ LLNavMeshDownloadObserver()
+ : mPathfindingConsole(NULL)
+ { mObserverHandle.bind(this); }
//Dtor
virtual ~LLNavMeshDownloadObserver() {}
//Accessor for the observers handle
const LLHandle<LLNavMeshDownloadObserver>& getObserverHandle() const { return mObserverHandle; }
+ LLFloaterPathfindingConsole *getPathfindingConsole() {return mPathfindingConsole;}
+ void setPathfindingConsole(LLFloaterPathfindingConsole *pPathfindingConsole) {mPathfindingConsole = pPathfindingConsole;}
protected:
LLRootHandle<LLNavMeshDownloadObserver> mObserverHandle;
+ LLFloaterPathfindingConsole *mPathfindingConsole;
};
//===============================================================================
class LLNavMeshStation : public LLSingleton<LLNavMeshStation>