summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryobserver.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-04-07 14:40:36 -0400
committerLoren Shih <seraph@lindenlab.com>2010-04-07 14:40:36 -0400
commit516ec63f52245a777725d29efe3c35e4e4e72936 (patch)
tree53dd714df6690597d6a4c9e787ff99307caaad39 /indra/newview/llinventoryobserver.h
parent5d3de2ea03ff500690acec13fd4b403dc8a72088 (diff)
EXT-6749 : Have all observers persist/retry when items are missing after notifications
Added mNumTries and took out mRetryIfMissing
Diffstat (limited to 'indra/newview/llinventoryobserver.h')
-rw-r--r--indra/newview/llinventoryobserver.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/indra/newview/llinventoryobserver.h b/indra/newview/llinventoryobserver.h
index 7b4d3dfe7b..ac2eca3477 100644
--- a/indra/newview/llinventoryobserver.h
+++ b/indra/newview/llinventoryobserver.h
@@ -103,15 +103,13 @@ protected:
class LLInventoryFetchItemsObserver : public LLInventoryFetchObserver
{
public:
- LLInventoryFetchItemsObserver(const LLUUID& item_id = LLUUID::null,
- BOOL retry_if_missing = FALSE);
- LLInventoryFetchItemsObserver(const uuid_vec_t& item_ids,
- BOOL retry_if_missing = FALSE);
+ LLInventoryFetchItemsObserver(const LLUUID& item_id = LLUUID::null);
+ LLInventoryFetchItemsObserver(const uuid_vec_t& item_ids);
/*virtual*/ void startFetch();
/*virtual*/ void changed(U32 mask);
-protected:
- BOOL mRetryIfMissing;
+private:
+ S8 mNumTries; // Number of times changed() was called without success
};
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~