diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-15 16:15:46 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-15 16:15:46 -0400 |
commit | 1b5f0590ce45ce6e540d266a8902af5839885cfb (patch) | |
tree | f923407fc28fb2f046ac451976a02490ab15787e /indra/newview/llpathfindingnavmesh.h | |
parent | f822193974af363fa4bb0208dc02848be6c983a2 (diff) | |
parent | e7eced3c87310b15ac20cc3cd470d67686104a14 (diff) |
Merge commit 'e7eced3' into nat/releaseos for whitespace fix.
Diffstat (limited to 'indra/newview/llpathfindingnavmesh.h')
-rw-r--r-- | indra/newview/llpathfindingnavmesh.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/indra/newview/llpathfindingnavmesh.h b/indra/newview/llpathfindingnavmesh.h index ddc886f01c..18b6a31845 100644 --- a/indra/newview/llpathfindingnavmesh.h +++ b/indra/newview/llpathfindingnavmesh.h @@ -1,4 +1,4 @@ -/** +/** * @file llpathfindingnavmesh.h * @brief Header file for llpathfindingnavmesh * @author Stinson@lindenlab.com @@ -44,48 +44,48 @@ typedef std::shared_ptr<LLPathfindingNavMesh> LLPathfindingNavMeshPtr; class LLPathfindingNavMesh { public: - typedef enum { - kNavMeshRequestUnknown, - kNavMeshRequestWaiting, - kNavMeshRequestChecking, - kNavMeshRequestNeedsUpdate, - kNavMeshRequestStarted, - kNavMeshRequestCompleted, - kNavMeshRequestNotEnabled, - kNavMeshRequestError - } ENavMeshRequestStatus; + typedef enum { + kNavMeshRequestUnknown, + kNavMeshRequestWaiting, + kNavMeshRequestChecking, + kNavMeshRequestNeedsUpdate, + kNavMeshRequestStarted, + kNavMeshRequestCompleted, + kNavMeshRequestNotEnabled, + kNavMeshRequestError + } ENavMeshRequestStatus; - typedef boost::function<void (ENavMeshRequestStatus, const LLPathfindingNavMeshStatus &, const LLSD::Binary &)> navmesh_callback_t; - typedef boost::signals2::signal<void (ENavMeshRequestStatus, const LLPathfindingNavMeshStatus &, const LLSD::Binary &)> navmesh_signal_t; - typedef boost::signals2::connection navmesh_slot_t; + typedef boost::function<void (ENavMeshRequestStatus, const LLPathfindingNavMeshStatus &, const LLSD::Binary &)> navmesh_callback_t; + typedef boost::signals2::signal<void (ENavMeshRequestStatus, const LLPathfindingNavMeshStatus &, const LLSD::Binary &)> navmesh_signal_t; + typedef boost::signals2::connection navmesh_slot_t; - LLPathfindingNavMesh(const LLUUID &pRegionUUID); - virtual ~LLPathfindingNavMesh(); + LLPathfindingNavMesh(const LLUUID &pRegionUUID); + virtual ~LLPathfindingNavMesh(); - navmesh_slot_t registerNavMeshListener(navmesh_callback_t pNavMeshCallback); + navmesh_slot_t registerNavMeshListener(navmesh_callback_t pNavMeshCallback); - bool hasNavMeshVersion(const LLPathfindingNavMeshStatus &pNavMeshStatus) const; + bool hasNavMeshVersion(const LLPathfindingNavMeshStatus &pNavMeshStatus) const; - void handleNavMeshWaitForRegionLoad(); - void handleNavMeshCheckVersion(); - void handleRefresh(const LLPathfindingNavMeshStatus &pNavMeshStatus); - void handleNavMeshNewVersion(const LLPathfindingNavMeshStatus &pNavMeshStatus); - void handleNavMeshStart(const LLPathfindingNavMeshStatus &pNavMeshStatus); - void handleNavMeshResult(const LLSD &pContent, U32 pNavMeshVersion); - void handleNavMeshNotEnabled(); - void handleNavMeshError(); - void handleNavMeshError(U32 pNavMeshVersion); + void handleNavMeshWaitForRegionLoad(); + void handleNavMeshCheckVersion(); + void handleRefresh(const LLPathfindingNavMeshStatus &pNavMeshStatus); + void handleNavMeshNewVersion(const LLPathfindingNavMeshStatus &pNavMeshStatus); + void handleNavMeshStart(const LLPathfindingNavMeshStatus &pNavMeshStatus); + void handleNavMeshResult(const LLSD &pContent, U32 pNavMeshVersion); + void handleNavMeshNotEnabled(); + void handleNavMeshError(); + void handleNavMeshError(U32 pNavMeshVersion); protected: private: - void setRequestStatus(ENavMeshRequestStatus pNavMeshRequestStatus); - void sendStatus(); + void setRequestStatus(ENavMeshRequestStatus pNavMeshRequestStatus); + void sendStatus(); - LLPathfindingNavMeshStatus mNavMeshStatus; - ENavMeshRequestStatus mNavMeshRequestStatus; - navmesh_signal_t mNavMeshSignal; - LLSD::Binary mNavMeshData; + LLPathfindingNavMeshStatus mNavMeshStatus; + ENavMeshRequestStatus mNavMeshRequestStatus; + navmesh_signal_t mNavMeshSignal; + LLSD::Binary mNavMeshData; }; #endif // LL_LLPATHFINDINGNAVMESH_H |