diff options
author | prep <prep@lindenlab.com> | 2012-06-11 17:47:08 -0400 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2012-06-11 17:47:08 -0400 |
commit | 6bc9234bbd92e9ec7b95a452f8117501d5538b7f (patch) | |
tree | 3bc51a6d8b24b08612800525e7653ba6430dd892 /indra/newview | |
parent | 2400b8a651e5aec599c2132d3cf9c12b78b21d83 (diff) | |
parent | 9cac312f57391792e9fce380c2c38ae4060ae1d7 (diff) |
megre
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpathfindingmanager.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/indra/newview/llpathfindingmanager.cpp b/indra/newview/llpathfindingmanager.cpp index 85a315a3e7..e282a3e2f4 100644 --- a/indra/newview/llpathfindingmanager.cpp +++ b/indra/newview/llpathfindingmanager.cpp @@ -94,25 +94,6 @@ public: LLHTTPRegistration<LLAgentStateChangeNode> gHTTPRegistrationAgentStateChangeNode(SIM_MESSAGE_AGENT_STATE_UPDATE); //--------------------------------------------------------------------------- -// StinsonResponder -//--------------------------------------------------------------------------- - -class StinsonResponder : public LLHTTPClient::Responder -{ -public: - StinsonResponder(const std::string &pCapabilityURL); - virtual ~StinsonResponder(); - - virtual void result(const LLSD &pContent); - virtual void error(U32 pStatus, const std::string& pReason); - -protected: - -private: - std::string mCapabilityURL; -}; - -//--------------------------------------------------------------------------- // NavMeshStatusResponder //--------------------------------------------------------------------------- @@ -538,10 +519,6 @@ void LLPathfindingManager::requestGetCharacters(request_id_t pRequestId, object_ LLHTTPClient::ResponderPtr charactersResponder = new CharactersResponder(charactersURL, pRequestId, pCharactersCallback); LLHTTPClient::get(charactersURL, charactersResponder); - - std::string googleURL = "http://www.google.com/"; - LLHTTPClient::ResponderPtr stinsonResponder = new StinsonResponder(googleURL); - LLHTTPClient::get(googleURL, stinsonResponder); } } } @@ -826,30 +803,6 @@ void LLNavMeshSimStateChangeNode::post(ResponsePtr pResponse, const LLSD &pConte } //--------------------------------------------------------------------------- -// StinsonResponder -//--------------------------------------------------------------------------- - -StinsonResponder::StinsonResponder(const std::string &pCapabilityURL) - : LLHTTPClient::Responder(), - mCapabilityURL(pCapabilityURL) -{ -} - -StinsonResponder::~StinsonResponder() -{ -} - -void StinsonResponder::result(const LLSD &pContent) -{ - llinfos << "STINSON DEBUG: success to URL '" << mCapabilityURL << "' with content " << pContent << llendl; -} - -void StinsonResponder::error(U32 pStatus, const std::string& pReason) -{ - llwarns << "STINSON DEBUG: error with request to URL '" << mCapabilityURL << "' because " << pReason << " (statusCode:" << pStatus << ")" << llendl; -} - -//--------------------------------------------------------------------------- // LLAgentStateChangeNode //--------------------------------------------------------------------------- |