From 1b68f71348ecf3983b76b40d7940da8377f049b7 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Mon, 29 Apr 2024 07:43:28 +0300 Subject: #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed --- .../newview/llmenuoptionpathfindingrebakenavmesh.h | 62 +++++++++++----------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'indra/newview/llmenuoptionpathfindingrebakenavmesh.h') diff --git a/indra/newview/llmenuoptionpathfindingrebakenavmesh.h b/indra/newview/llmenuoptionpathfindingrebakenavmesh.h index 649a387dd3..22eda5b8f8 100644 --- a/indra/newview/llmenuoptionpathfindingrebakenavmesh.h +++ b/indra/newview/llmenuoptionpathfindingrebakenavmesh.h @@ -1,4 +1,4 @@ -/** +/** * @file llmenuoptionpathfindingrebakenavmesh.h * @brief Header file for llmenuoptionpathfindingrebakenavmesh * @author Prep@lindenlab.com @@ -37,49 +37,49 @@ class LLPathfindingNavMeshStatus; class LLMenuOptionPathfindingRebakeNavmesh : public LLSingleton { - LLSINGLETON(LLMenuOptionPathfindingRebakeNavmesh); - virtual ~LLMenuOptionPathfindingRebakeNavmesh(); - LOG_CLASS(LLMenuOptionPathfindingRebakeNavmesh); + LLSINGLETON(LLMenuOptionPathfindingRebakeNavmesh); + virtual ~LLMenuOptionPathfindingRebakeNavmesh(); + LOG_CLASS(LLMenuOptionPathfindingRebakeNavmesh); public: - typedef enum - { - kRebakeNavMesh_Available, - kRebakeNavMesh_RequestSent, - kRebakeNavMesh_InProgress, - kRebakeNavMesh_NotAvailable, - kRebakeNavMesh_Default = kRebakeNavMesh_NotAvailable - } ERebakeNavMeshMode; + typedef enum + { + kRebakeNavMesh_Available, + kRebakeNavMesh_RequestSent, + kRebakeNavMesh_InProgress, + kRebakeNavMesh_NotAvailable, + kRebakeNavMesh_Default = kRebakeNavMesh_NotAvailable + } ERebakeNavMeshMode; - void initialize(); - void quit(); + void initialize(); + void quit(); - bool canRebakeRegion() const; - ERebakeNavMeshMode getMode() const; - - void sendRequestRebakeNavmesh(); + bool canRebakeRegion() const; + ERebakeNavMeshMode getMode() const; + + void sendRequestRebakeNavmesh(); protected: private: - void setMode(ERebakeNavMeshMode pRebakeNavMeshMode); + void setMode(ERebakeNavMeshMode pRebakeNavMeshMode); + + void handleAgentState(BOOL pCanRebakeRegion); + void handleRebakeNavMeshResponse(bool pResponseStatus); + void handleNavMeshStatus(const LLPathfindingNavMeshStatus &pNavMeshStatus); + void handleRegionBoundaryCrossed(); - void handleAgentState(BOOL pCanRebakeRegion); - void handleRebakeNavMeshResponse(bool pResponseStatus); - void handleNavMeshStatus(const LLPathfindingNavMeshStatus &pNavMeshStatus); - void handleRegionBoundaryCrossed(); + void createNavMeshStatusListenerForCurrentRegion(); - void createNavMeshStatusListenerForCurrentRegion(); + bool mIsInitialized; - bool mIsInitialized; + bool mCanRebakeRegion; + ERebakeNavMeshMode mRebakeNavMeshMode; - bool mCanRebakeRegion; - ERebakeNavMeshMode mRebakeNavMeshMode; - - LLPathfindingNavMesh::navmesh_slot_t mNavMeshSlot; - boost::signals2::connection mRegionCrossingSlot; - LLPathfindingManager::agent_state_slot_t mAgentStateSlot; + LLPathfindingNavMesh::navmesh_slot_t mNavMeshSlot; + boost::signals2::connection mRegionCrossingSlot; + LLPathfindingManager::agent_state_slot_t mAgentStateSlot; }; #endif // LL_LLMENUOPTIONPATHFINDINGREBAKENAVMESH_H -- cgit v1.2.3