diff options
author | Merov Linden <merov@lindenlab.com> | 2014-04-21 18:42:56 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-04-21 18:42:56 -0700 |
commit | 4ec13dcf8c331bc39a00aa6fec8397b6714172ba (patch) | |
tree | 6579fda842a5e47f0838b8634ec0665a4f246cb3 /indra/newview/llmarketplacefunctions.cpp | |
parent | 40a51eb94dae1bc8ba287706b514b3e54b1dade8 (diff) |
DD-21 : WIP : Call DirectDelivery cap, nothing done but print out the url in the log
Diffstat (limited to 'indra/newview/llmarketplacefunctions.cpp')
-rwxr-xr-x | indra/newview/llmarketplacefunctions.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp index 6ff6ba6714..3fa2c58cba 100755 --- a/indra/newview/llmarketplacefunctions.cpp +++ b/indra/newview/llmarketplacefunctions.cpp @@ -37,6 +37,7 @@ #include "llviewercontrol.h" #include "llviewermedia.h" #include "llviewernetwork.h" +#include "llviewerregion.h" // @@ -426,6 +427,18 @@ void LLMarketplaceInventoryImporter::initialize() return; } + // Test DirectDelivery cap + LLViewerRegion* region = gAgent.getRegion(); + if (region) + { + std::string url = region->getCapability("DirectDelivery"); + llinfos << "Merov : Test DirectDelivery cap : url = " << url << llendl; + } + else + { + llinfos << "Merov : Test DirectDelivery cap : no region accessible" << llendl; + } + if (!LLMarketplaceImport::hasSessionCookie()) { mMarketPlaceStatus = MarketplaceStatusCodes::MARKET_PLACE_INITIALIZING; |