diff options
author | Merov Linden <merov@lindenlab.com> | 2015-02-03 22:04:58 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2015-02-03 22:04:58 -0800 |
commit | ab91c83881ae182de2ebf8e99d31db2c5bd39f08 (patch) | |
tree | 39571eef81809063eeb1f766d063867f5d4fcdc9 /indra/newview/llmarketplacefunctions.h | |
parent | 626d465894b0147b9cbefb15f7cfd8db38d72f00 (diff) |
DD-296 : Implement listing validation after we get all copied items confirmation from the server
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rwxr-xr-x | indra/newview/llmarketplacefunctions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h index af274c18f2..aa78cfd2d8 100755 --- a/indra/newview/llmarketplacefunctions.h +++ b/indra/newview/llmarketplacefunctions.h @@ -223,6 +223,10 @@ public: void setDirtyCount() { mDirtyCount = true; } void setUpdating(const LLUUID& folder_id, bool isUpdating); + // Used to decide when to run a validation on listing folders + void setValidationWaiting(const LLUUID& folder_id, S32 count); + void decrementValidationWaiting(const LLUUID& folder_id, S32 count = 1); + private: // Modify Marketplace data set : each method returns true if the function succeeds, false if error // Used internally only by SLM Responders when data are received from the SLM Server @@ -250,6 +254,10 @@ private: // Update data std::set<LLUUID> mPendingUpdateSet; + + // Listing folders waiting for validation + typedef std::map<LLUUID,S32> waiting_list_t; + waiting_list_t mValidationWaitingList; // The cache of SLM data (at last...) marketplace_items_list_t mMarketplaceItems; |