summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-28 19:38:26 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-28 21:37:32 +0300
commit3bf9c78f564f0b6c4fd79163bd63c0a6c1fab7cb (patch)
treea3ff8c1df49926f26385efc6aa55f006e18b471a /indra/newview/llviewerinventory.h
parentd21a1aace63967fe62b12b71b7f683f662dfcf4a (diff)
SL-18003 Improve dupplicate prevention
Try getting lost and found
Diffstat (limited to 'indra/newview/llviewerinventory.h')
-rw-r--r--indra/newview/llviewerinventory.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/indra/newview/llviewerinventory.h b/indra/newview/llviewerinventory.h
index 2ae2cebe5c..95a4c84999 100644
--- a/indra/newview/llviewerinventory.h
+++ b/indra/newview/llviewerinventory.h
@@ -209,10 +209,17 @@ public:
S32 getVersion() const;
void setVersion(S32 version);
- // Returns true if a fetch was issued.
+ // Returns true if a fetch was issued (not nessesary in progress).
bool fetch();
- // Returns true if a fetch was issued.
- void setFetching(bool);
+
+ typedef enum {
+ FETCH_NONE = 0,
+ FETCH_NORMAL,
+ FETCH_RECURSIVE,
+ } EFetchType;
+ EFetchType getFetching();
+ // marks as fetch being in progress or as done
+ void setFetching(EFetchType);
// used to help make caching more robust - for example, if
// someone is getting 4 packets but logs out after 3. the viewer
@@ -242,6 +249,7 @@ protected:
LLUUID mOwnerID;
S32 mVersion;
S32 mDescendentCount;
+ EFetchType mFetching;
LLFrameTimer mDescendentsRequested;
};