summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-08-12 11:00:39 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-08-12 11:00:39 -0400
commit6c1796c105054bf52f879ab7060a2f53f896d44d (patch)
tree7cbe3f2d6888943b9cfbba91f1d26e221cd7f43c /indra/newview/llappearancemgr.h
parentbd9ead6794af8a81e8859fe1143676af36f06f84 (diff)
DEV-52580 WIP: disallow multiple links to the same attachment in updateAppearanceFromCOF()
Diffstat (limited to 'indra/newview/llappearancemgr.h')
-rw-r--r--indra/newview/llappearancemgr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h
index eb495bd274..796ac5c572 100644
--- a/indra/newview/llappearancemgr.h
+++ b/indra/newview/llappearancemgr.h
@@ -66,7 +66,11 @@ public:
void renameOutfit(const LLUUID& outfit_id);
void takeOffOutfit(const LLUUID& cat_id);
void addCategoryToCurrentOutfit(const LLUUID& cat_id);
- void enforceItemCountLimits();
+ S32 findExcessOrDuplicateItems(const LLUUID& cat_id,
+ LLAssetType::EType type,
+ S32 max_items,
+ LLInventoryModel::item_array_t& items_to_kill);
+ void enforceItemRestrictions();
// Copy all items and the src category itself.
void shallowCopyCategory(const LLUUID& src_id, const LLUUID& dst_id,