diff options
author | Merov Linden <merov@lindenlab.com> | 2015-06-10 14:53:12 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2015-06-10 14:53:12 -0700 |
commit | ab73b1af8fad5f012f782632a08740b4a0a1c8fa (patch) | |
tree | ec53e2587cd5063e11dbedd10dd8286bcf126249 /indra/newview/llmarketplacefunctions.h | |
parent | 97fc50e1618b5441d6c7f305506801b85b4caacd (diff) |
DD-416 : Added DAMA when version folder is empty and unlisted, accelerated some functions avoiding depth computation when we could, fixed cut case
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rwxr-xr-x | indra/newview/llmarketplacefunctions.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h index 26b1ddc579..f8e7ed4364 100755 --- a/indra/newview/llmarketplacefunctions.h +++ b/indra/newview/llmarketplacefunctions.h @@ -208,12 +208,12 @@ public: // High level create/delete/set Marketplace data: each method returns true if the function succeeds, false if error bool createListing(const LLUUID& folder_id); - bool activateListing(const LLUUID& folder_id, bool activate); - bool clearListing(const LLUUID& folder_id); - bool setVersionFolder(const LLUUID& folder_id, const LLUUID& version_id); + bool activateListing(const LLUUID& folder_id, bool activate, S32 depth = -1); + bool clearListing(const LLUUID& folder_id, S32 depth = -1); + bool setVersionFolder(const LLUUID& folder_id, const LLUUID& version_id, S32 depth = -1); bool associateListing(const LLUUID& folder_id, const LLUUID& source_folder_id, S32 listing_id); - bool updateCountOnHand(const LLUUID& folder_id); - bool getListing(const LLUUID& folder_id); + bool updateCountOnHand(const LLUUID& folder_id, S32 depth = -1); + bool getListing(const LLUUID& folder_id, S32 depth = -1); bool getListing(S32 listing_id); bool deleteListing(S32 listing_id, bool update = true); @@ -221,15 +221,15 @@ public: bool isListed(const LLUUID& folder_id); // returns true if folder_id is a Listing folder bool isListedAndActive(const LLUUID& folder_id); // returns true if folder_id is an active (listed) Listing folder bool isVersionFolder(const LLUUID& folder_id); // returns true if folder_id is a Version folder - bool isInActiveFolder(const LLUUID& obj_id); // returns true if the obj_id is buried in an active version folder - LLUUID getActiveFolder(const LLUUID& obj_id); // returns the UUID of the active version folder obj_id is in - bool isUpdating(const LLUUID& folder_id); // returns true if we're waiting from SLM incoming data for folder_id + bool isInActiveFolder(const LLUUID& obj_id, S32 depth = -1); // returns true if the obj_id is buried in an active version folder + LLUUID getActiveFolder(const LLUUID& obj_id, S32 depth = -1); // returns the UUID of the active version folder obj_id is in + bool isUpdating(const LLUUID& folder_id, S32 depth = -1); // returns true if we're waiting from SLM incoming data for folder_id // Access Marketplace data set : each method returns a default value if the argument can't be found bool getActivationState(const LLUUID& folder_id); S32 getListingID(const LLUUID& folder_id); LLUUID getVersionFolder(const LLUUID& folder_id); - std::string getListingURL(const LLUUID& folder_id); + std::string getListingURL(const LLUUID& folder_id, S32 depth = -1); LLUUID getListingFolder(S32 listing_id); S32 getCountOnHand(const LLUUID& folder_id); |