From dd7cb6392683f4dfa536ef72e13919a082157a04 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Fri, 20 Jan 2012 17:12:24 -0800 Subject: PATH-187: Starting to refactor the capability service for querying/editing linksets. --- indra/newview/llfloaterpathfindinglinksets.h | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'indra/newview/llfloaterpathfindinglinksets.h') diff --git a/indra/newview/llfloaterpathfindinglinksets.h b/indra/newview/llfloaterpathfindinglinksets.h index 48ea99df7d..11750a2ca0 100644 --- a/indra/newview/llfloaterpathfindinglinksets.h +++ b/indra/newview/llfloaterpathfindinglinksets.h @@ -178,28 +178,32 @@ class LLFloaterPathfindingLinksets public: typedef enum { - kFetchInitial, - kFetchStarting, - kFetchRequestSent, - kFetchRequestSent_MultiRequested, - kFetchReceived, - kFetchError, - kFetchComplete - } EFetchState; + kMessagingInitial, + kMessagingFetchStarting, + kMessagingFetchRequestSent, + kMessagingFetchRequestSent_MultiRequested, + kMessagingFetchReceived, + kMessagingFetchError, + kMessagingModifyStarting, + kMessagingModifyRequestSent, + kMessagingModifyReceived, + kMessagingModifyError, + kMessagingComplete + } EMessagingState; virtual BOOL postBuild(); virtual void onOpen(const LLSD& pKey); static void openLinksetsEditor(); - EFetchState getFetchState() const; - BOOL isFetchInProgress() const; + EMessagingState getMessagingState() const; + BOOL isMessagingInProgress() const; protected: private: PathfindingLinksets mPathfindingLinksets; - EFetchState mFetchState; + EMessagingState mMessagingState; LLScrollListCtrl *mLinksetsScrollList; LLTextBase *mLinksetsStatus; LLLineEditor *mFilterByName; @@ -238,7 +242,7 @@ private: std::string getRegionName() const; std::string getCapabilityURL() const; - void setFetchState(EFetchState pFetchState); + void setMessagingState(EMessagingState pMessagingState); void onApplyFiltersClicked(); void onClearFiltersClicked(); -- cgit v1.2.3