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.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/newview/llnavmeshstation.h b/indra/newview/llnavmeshstation.h
index 566f6d2d8d..c8e23513eb 100644
--- a/indra/newview/llnavmeshstation.h
+++ b/indra/newview/llnavmeshstation.h
@@ -47,14 +47,11 @@ protected:
LLRootHandle<LLNavMeshObserver> mObserverHandle;
};
//===============================================================================
-//prep#TODO# determine if a name change is needed?
class LLNavMeshDownloadObserver
{
public:
//Ctor
- LLNavMeshDownloadObserver()
- : mPathfindingConsole(NULL)
- { mObserverHandle.bind(this); }
+ LLNavMeshDownloadObserver() { mObserverHandle.bind(this); }
//Dtor
virtual ~LLNavMeshDownloadObserver() {}
//Accessor for the observers handle
@@ -78,8 +75,10 @@ public:
void setNavMeshUploadURL( std::string& url ) { mNavMeshUploadURL = url; }
//Setter for the navmesh download url
void setNavMeshDownloadURL( std::string& url ) { mNavMeshDownloadURL = url; }
+ //Callback to handle the requested src data for this regions navmesh src
+ static void processNavMeshSrc( LLMessageSystem* msg, void** );
//Initiate download of the navmesh source from the server
- void downloadNavMeshSrc( const LLHandle<LLNavMeshDownloadObserver>& observerHandle );
+ void downloadNavMeshSrc( const LLHandle<LLNavMeshDownloadObserver>& observerHandle, int dir );
protected:
//Curl object to facilitate posts to server