Skip to content
Snippets Groups Projects
Commit 4ec13dcf authored by Merov Linden's avatar Merov Linden
Browse files

DD-21 : WIP : Call DirectDelivery cap, nothing done but print out the url in the log

parent 40a51eb9
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include "llviewercontrol.h" #include "llviewercontrol.h"
#include "llviewermedia.h" #include "llviewermedia.h"
#include "llviewernetwork.h" #include "llviewernetwork.h"
#include "llviewerregion.h"
// //
...@@ -426,6 +427,18 @@ void LLMarketplaceInventoryImporter::initialize() ...@@ -426,6 +427,18 @@ void LLMarketplaceInventoryImporter::initialize()
return; 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()) if (!LLMarketplaceImport::hasSessionCookie())
{ {
mMarketPlaceStatus = MarketplaceStatusCodes::MARKET_PLACE_INITIALIZING; mMarketPlaceStatus = MarketplaceStatusCodes::MARKET_PLACE_INITIALIZING;
......
...@@ -1593,6 +1593,7 @@ void LLViewerRegionImpl::buildCapabilityNames(LLSD& capabilityNames) ...@@ -1593,6 +1593,7 @@ void LLViewerRegionImpl::buildCapabilityNames(LLSD& capabilityNames)
capabilityNames.append("CopyInventoryFromNotecard"); capabilityNames.append("CopyInventoryFromNotecard");
capabilityNames.append("CreateInventoryCategory"); capabilityNames.append("CreateInventoryCategory");
capabilityNames.append("DispatchRegionInfo"); capabilityNames.append("DispatchRegionInfo");
capabilityNames.append("DirectDelivery");
capabilityNames.append("EnvironmentSettings"); capabilityNames.append("EnvironmentSettings");
capabilityNames.append("EstateChangeInfo"); capabilityNames.append("EstateChangeInfo");
capabilityNames.append("EventQueueGet"); capabilityNames.append("EventQueueGet");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment