diff options
author | Merov Linden <merov@lindenlab.com> | 2013-11-18 16:03:22 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-11-18 16:03:22 -0800 |
commit | 125f3f071a30f4c47feb664b21f3e380ee4e7e49 (patch) | |
tree | c56f1c2a5beba6485865403b8a03e2f78d7b1823 /indra/newview/llinventorymodel.h | |
parent | 6ec99570cd86a89ed6367f81d6b0cccd7fe0e913 (diff) |
MAINT-3319 : WIP : Introduce a consolidate folder method used for Merchant Outbox
Diffstat (limited to 'indra/newview/llinventorymodel.h')
-rwxr-xr-x | indra/newview/llinventorymodel.h | 5 |
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 |