From 1a837c5719fa8dded91561a97839d2ed28e87553 Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Mon, 5 May 2014 15:13:48 -0700 Subject: DD-22 : WIP : Completed GET and POST listings routes. Refactored the marketplace data code a bit as a result --- indra/newview/llmarketplacefunctions.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'indra/newview/llmarketplacefunctions.h') diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h index 7f1b6350e8..aa286adcc8 100755 --- a/indra/newview/llmarketplacefunctions.h +++ b/indra/newview/llmarketplacefunctions.h @@ -163,7 +163,7 @@ public: void initializeSLM(const status_updated_signal_t::slot_type& cb); void getSLMListings(); //void getSLMListing(); - void postSLMListing(const LLUUID& folder_id); + void createSLMListing(const LLUUID& folder_id); //void modifySLMListing(); //void associateSLMListing(); @@ -174,7 +174,8 @@ public: bool isVersionFolder(const LLUUID& folder_id); // returns true if folder_id is a Version folder // Create/Delete Marketplace data set : each method returns true if the function succeeds, false if error - bool addListing(const LLUUID& folder_id); + bool createListing(const LLUUID& folder_id); + bool addListing(const LLUUID& folder_id, S32 listing_id, const LLUUID& version_id, bool is_listed); bool associateListing(const LLUUID& folder_id, S32 listing_id); bool deleteListing(const LLUUID& folder_id); -- cgit v1.2.3