diff options
| author | Richard Linden <none@none> | 2012-01-13 18:37:50 -0800 |
|---|---|---|
| committer | Richard Linden <none@none> | 2012-01-13 18:37:50 -0800 |
| commit | 5e5105bd223f5180bbca634ba2c393be2ef3d13d (patch) | |
| tree | 2fbfddb6a081a97f789ab75031a7c6b2af463d95 /indra/newview/llinventorymodelbackgroundfetch.h | |
| parent | 37cd2aafa784e785fdd695bd940079de72edc1f2 (diff) | |
EXP-1770 WIP Drag and drop visual selection can be off across hierarchies
added throttling to fetchInventoryItem queries
Diffstat (limited to 'indra/newview/llinventorymodelbackgroundfetch.h')
| -rw-r--r-- | indra/newview/llinventorymodelbackgroundfetch.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llinventorymodelbackgroundfetch.h b/indra/newview/llinventorymodelbackgroundfetch.h index c35c785ceb..0745407a8c 100644 --- a/indra/newview/llinventorymodelbackgroundfetch.h +++ b/indra/newview/llinventorymodelbackgroundfetch.h @@ -60,10 +60,10 @@ public: bool inventoryFetchInProgress() const; void findLostItems(); + void incrFetchCount(S16 fetching); protected: - void incrBulkFetch(S16 fetching); bool isBulkFetchProcessingComplete() const; - void bulkFetch(std::string url); + void bulkFetch(); void backgroundFetch(); static void backgroundFetchCB(void*); // background fetch idle function @@ -77,7 +77,7 @@ private: BOOL mAllFoldersFetched; BOOL mBackgroundFetchActive; - S16 mBulkFetchCount; + S16 mFetchCount; BOOL mTimelyFetchPending; S32 mNumFetchRetries; @@ -87,11 +87,11 @@ private: struct FetchQueueInfo { - FetchQueueInfo(const LLUUID& id, BOOL recursive) : - mCatUUID(id), mRecursive(recursive) - { - } - LLUUID mCatUUID; + FetchQueueInfo(const LLUUID& id, BOOL recursive, bool is_category = true) : + mUUID(id), mRecursive(recursive), mIsCategory(is_category) + {} + LLUUID mUUID; + bool mIsCategory; BOOL mRecursive; }; typedef std::deque<FetchQueueInfo> fetch_queue_t; |
