summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-07-17 15:32:06 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-07-17 15:32:06 -0400
commit7af477f796f9926dfec4aaa1336047b41144fbbb (patch)
treefaefbbca7f85430b7cf5a755a3f7351ebb0c8e78 /indra/newview/llinventorymodel.h
parenta428acf331dc63b2d6bac10101a8339e91a73adc (diff)
SH-4344 FIX - return the lowest UUID for a child of root with the desired preferred type. Also removed some duplicate code between findCategoryUUIDForType and findLibraryCategoryUUIDForType
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 ee0d4e1994..2852a8da45 100755
--- a/indra/newview/llinventorymodel.h
+++ b/indra/newview/llinventorymodel.h
@@ -230,6 +230,11 @@ public:
// Find
//--------------------------------------------------------------------
public:
+ const LLUUID LLInventoryModel::findCategoryUUIDForTypeInRoot(
+ LLFolderType::EType preferred_type,
+ bool create_folder,
+ const LLUUID& root_id);
+
// Returns the uuid of the category that specifies 'type' as what it
// defaults to containing. The category is not necessarily only for that type.
// NOTE: If create_folder is true, this will create a new inventory category