diff options
author | Merov Linden <merov@lindenlab.com> | 2014-05-12 13:41:38 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-05-12 13:41:38 -0700 |
commit | 03679c227e0715d51229250c006f9c407bd9d923 (patch) | |
tree | 23a92066768cec485d413f1d06487c68379cf9bc /indra/newview/llmarketplacefunctions.h | |
parent | 4ffa30b533979a2214eb3996c19435f1cd16bc2a (diff) |
DD-22 : WIP : Implement the GET /listing/:listing route to complete the SLM API coverage. Will be used only in test.
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rwxr-xr-x | indra/newview/llmarketplacefunctions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h index de860bf9ca..8151d3aa40 100755 --- a/indra/newview/llmarketplacefunctions.h +++ b/indra/newview/llmarketplacefunctions.h @@ -160,6 +160,7 @@ typedef std::map<LLUUID, LLMarketplaceTuple> marketplace_items_list_t; class LLSLMGetMerchantResponder; class LLSLMGetListingsResponder; class LLSLMCreateListingsResponder; +class LLSLMGetListingResponder; class LLSLMUpdateListingsResponder; class LLSLMAssociateListingsResponder; class LLSLMDeleteListingsResponder; @@ -171,6 +172,7 @@ public: friend class LLSLMGetMerchantResponder; friend class LLSLMGetListingsResponder; friend class LLSLMCreateListingsResponder; + friend class LLSLMGetListingResponder; friend class LLSLMUpdateListingsResponder; friend class LLSLMAssociateListingsResponder; friend class LLSLMDeleteListingsResponder; @@ -191,6 +193,7 @@ public: bool clearListing(const LLUUID& folder_id); bool setVersionFolder(const LLUUID& folder_id, const LLUUID& version_id); bool associateListing(const LLUUID& folder_id, S32 listing_id); + bool getListing(const LLUUID& folder_id); // Probe the Marketplace data set to identify folders bool isListed(const LLUUID& folder_id); // returns true if folder_id is a Listing folder @@ -220,6 +223,7 @@ private: // Private SLM API : package data and get/post/put requests to the SLM Server through the SLM API void setSLMStatus(U32 status); void createSLMListing(const LLUUID& folder_id); + void getSLMListing(S32 listing_id); void updateSLMListing(const LLUUID& folder_id, S32 listing_id, const LLUUID& version_id, bool is_listed); void associateSLMListing(const LLUUID& folder_id, S32 listing_id, const LLUUID& version_id); void deleteSLMListing(S32 listing_id); |