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
commit26b0d657f5a2c054aae6e1a1a9a4382bb2c984db (patch)
tree598e016160e6061fb0dd6f479e28971f7f31ad48 /indra/newview/llappearancemgr.h
parent0b09d660a50e195e44dc57189be5fef28d5da17b (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,