diff options
| author | Merov Linden <merov@lindenlab.com> | 2014-04-17 11:44:04 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2014-04-17 11:44:04 -0700 |
| commit | ccdffd9794229b59b7d022760540ce5f8d8ea133 (patch) | |
| tree | c8ed6132760a134731acfe157c86ee64ba61c20d /indra/newview/llmarketplacefunctions.cpp | |
| parent | aada85e5b0bcdee88aaa5f0f5ef65913c05c0222 (diff) | |
DD-70 : Use List/Delist for listing folders and Activate/Deactivate for version folders. Also create test SLM ID when creating listing.
Diffstat (limited to 'indra/newview/llmarketplacefunctions.cpp')
| -rwxr-xr-x | indra/newview/llmarketplacefunctions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp index 4a3abe5f22..4a6914ee9c 100755 --- a/indra/newview/llmarketplacefunctions.cpp +++ b/indra/newview/llmarketplacefunctions.cpp @@ -562,6 +562,7 @@ LLMarketplaceTuple::LLMarketplaceTuple(const LLUUID& folder_id, std::string list // Data map LLMarketplaceData::LLMarketplaceData() { + mTestCurrentMarketplaceID = 1234567; } // Creation / Deletion @@ -573,6 +574,12 @@ bool LLMarketplaceData::addListing(const LLUUID& folder_id) return false; } mMarketplaceItems[folder_id] = LLMarketplaceTuple(folder_id); + + // *TODO : Create the listing on SLM and get the ID (blocking?) + // For the moment, we use that wonky test ID generator... + std::string listing_id = llformat ("%d", LLMarketplaceData::instance().getTestMarketplaceID()); + + setListingID(folder_id,listing_id); update_marketplace_category(folder_id); return true; } |
