summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.h
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2017-01-17 20:11:00 +0200
committerandreykproductengine <akleshchev@productengine.com>2017-01-17 20:11:00 +0200
commitb94aa751c93b2c9bf9a9567946fe388a7c475d77 (patch)
tree753be8a9339d02f568fdf0506aa7a9d873f7799d /indra/newview/llinventorymodel.h
parentba6974eb376a50eb40dab1682fb96299fe97639d (diff)
MAINT-6959 Ability to set custom folders for uploading items
Diffstat (limited to 'indra/newview/llinventorymodel.h')
-rw-r--r--indra/newview/llinventorymodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.h b/indra/newview/llinventorymodel.h
index 826d1f880d..dee1769172 100644
--- a/indra/newview/llinventorymodel.h
+++ b/indra/newview/llinventorymodel.h
@@ -287,6 +287,9 @@ public:
// will search in the user's library folder instead of "My Inventory"
const LLUUID findLibraryCategoryUUIDForType(LLFolderType::EType preferred_type,
bool create_folder = true);
+ // Returns user specified category for uploads, returns default id if there are no
+ // user specified one or it does not exist, creates default category if it is missing.
+ const LLUUID findUserDefinedCategoryUUIDForType(LLFolderType::EType preferred_type);
// Get whatever special folder this object is a child of, if any.
const LLViewerInventoryCategory *getFirstNondefaultParent(const LLUUID& obj_id) const;