summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodelbackgroundfetch.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-15 03:29:03 +0200
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-03-15 20:18:38 +0200
commit83811ff846d9c046e694708c209a6d4dc0bb45a3 (patch)
tree43ff969c5faa9a67add215bb71133de7390d7dd1 /indra/newview/llinventorymodelbackgroundfetch.h
parentac145cb21f382b8eab9f770cecfa23ea9d58aac6 (diff)
SL-18629 WIP Fetch Inventory using AIS caps #2
Diffstat (limited to 'indra/newview/llinventorymodelbackgroundfetch.h')
-rw-r--r--indra/newview/llinventorymodelbackgroundfetch.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llinventorymodelbackgroundfetch.h b/indra/newview/llinventorymodelbackgroundfetch.h
index ac1c42e0d7..4c4de6ac7c 100644
--- a/indra/newview/llinventorymodelbackgroundfetch.h
+++ b/indra/newview/llinventorymodelbackgroundfetch.h
@@ -73,9 +73,14 @@ public:
protected:
+ typedef enum {
+ RT_NONE = 0,
+ RT_CONTENT, // request content recursively
+ RT_RECURSIVE, // request everything recursively
+ } ERecursionType;
struct FetchQueueInfo
{
- FetchQueueInfo(const LLUUID& id, bool recursive, bool is_category = true)
+ FetchQueueInfo(const LLUUID& id, ERecursionType recursive, bool is_category = true)
: mUUID(id),
mIsCategory(is_category),
mRecursive(recursive)
@@ -83,10 +88,11 @@ protected:
LLUUID mUUID;
bool mIsCategory;
- bool mRecursive;
+ ERecursionType mRecursive;
};
typedef std::deque<FetchQueueInfo> fetch_queue_t;
+ void onAISCalback(const LLUUID &request_id, const LLUUID &response_id, ERecursionType recursion);
void bulkFetchViaAis();
void bulkFetchViaAis(const FetchQueueInfo& fetch_info);
void bulkFetch();