diff options
author | Merov Linden <merov@lindenlab.com> | 2014-05-23 17:19:03 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-05-23 17:19:03 -0700 |
commit | d06d4a36e702604368c70244114c58c5df730fb9 (patch) | |
tree | 6eeb5fa768d1c2a18320642c04aa7c93ebd27293 /indra/newview/llinventoryfunctions.h | |
parent | aa518ce8f112a7717d025cf7bdf710635999c6a2 (diff) |
DD-91 : WIP : Refactor code testing the validity of a drag, drop or paste of a folder or item in the marketplace
Diffstat (limited to 'indra/newview/llinventoryfunctions.h')
-rwxr-xr-x | indra/newview/llinventoryfunctions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfunctions.h b/indra/newview/llinventoryfunctions.h index c3ace9d914..e87a263427 100755 --- a/indra/newview/llinventoryfunctions.h +++ b/indra/newview/llinventoryfunctions.h @@ -76,6 +76,9 @@ void copy_folder_to_outbox(LLInventoryCategory* inv_cat, const LLUUID& dest_fold typedef boost::function<void(std::string& validation_message)> validation_callback_t; +bool can_move_item_to_marketplace(const LLInventoryCategory* root_folder, LLInventoryCategory* dest_folder, LLInventoryItem* inv_item, std::string& tooltip_msg, S32 bundle_size = 1); +bool can_move_folder_to_marketplace(const LLInventoryCategory* root_folder, LLInventoryCategory* dest_folder, LLInventoryCategory* inv_cat, std::string& tooltip_msg, S32 bundle_size = 1); +bool can_move_to_marketplace(LLInventoryItem* inv_item, std::string& tooltip_msg); bool move_item_to_marketplacelistings(LLInventoryItem* inv_item, LLUUID dest_folder, bool copy = false); bool move_folder_to_marketplacelistings(LLInventoryCategory* inv_cat, const LLUUID& dest_folder, bool copy = false); bool has_correct_permissions_for_sale(LLInventoryCategory* cat); |