summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.h
diff options
context:
space:
mode:
authorsimon <none@none>2014-04-21 13:04:07 -0700
committersimon <none@none>2014-04-21 13:04:07 -0700
commitfdb28bccb92d121f1b3dfc068a50d5cc3db43ce9 (patch)
tree391f32cc407d6e9c14bd4804b7ece4f53df3250c /indra/newview/llinventorymodel.h
parent80eafe2ff3b235b6355ae2f20e8301374623e6ea (diff)
parenta5a0a0b1362da5d00cc6d09bb841ef6167bb2922 (diff)
Merge downstream code
Diffstat (limited to 'indra/newview/llinventorymodel.h')
-rwxr-xr-xindra/newview/llinventorymodel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.h b/indra/newview/llinventorymodel.h
index 8aac879a93..544ca5e5dc 100755
--- a/indra/newview/llinventorymodel.h
+++ b/indra/newview/llinventorymodel.h
@@ -263,6 +263,11 @@ public:
// Get the inventoryID or item that this item points to, else just return object_id
const LLUUID& getLinkedItemID(const LLUUID& object_id) const;
LLViewerInventoryItem* getLinkedItem(const LLUUID& object_id) const;
+
+ // Copy content of all folders of type "type" into folder "id" and delete/purge the empty folders
+ // Note : This method has been designed for FT_OUTBOX (aka Merchant Outbox) but can be used for other categories
+ void consolidateForType(const LLUUID& id, LLFolderType::EType type);
+
private:
mutable LLPointer<LLViewerInventoryItem> mLastItem; // cache recent lookups