diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-01-23 18:27:10 -0800 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-01-23 18:27:10 -0800 |
commit | 3b4d841ee254186d881490cfadbdfbac6dcdf6ad (patch) | |
tree | 6c9f5270613250d5939fb762b06c7c5509a9ab1c /indra/newview/llnavmeshstation.h | |
parent | 3f330d2902aaab3c62ebd0c830fce61c6f1e4524 (diff) |
Introducing a hacky way to get some reporting on the downloading status of the navmesh into the console. This needs to be seriously refactored.
Diffstat (limited to 'indra/newview/llnavmeshstation.h')
-rw-r--r-- | indra/newview/llnavmeshstation.h | 8 |
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> |