Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer
Conflicts: indra/newview/llspeakers.cpp Compile fixes: indra/newview/llgroupmgr.cpp - uncomment new API for GroupBanDataResponder
This commit is contained in:
@@ -1962,8 +1962,8 @@ class GroupBanDataResponder : public LLHTTPClient::ResponderWithResult
|
||||
public:
|
||||
GroupBanDataResponder(const LLUUID& gropup_id, BOOL force_refresh=false);
|
||||
virtual ~GroupBanDataResponder() {}
|
||||
virtual void result(const LLSD& mContent); //httpSuccess();
|
||||
virtual void error(U32 mStatus, const std::string& mContent); //httpFailure();
|
||||
virtual void httpSuccess();
|
||||
virtual void httpFailure();
|
||||
/*virtual*/ AIHTTPTimeoutPolicy const& getHTTPTimeoutPolicy(void) const { return groupBanDataResponder_timeout; }
|
||||
/*virtual*/ char const* getName(void) const { return "GroupBanDataResponder"; }
|
||||
private:
|
||||
@@ -1976,15 +1976,13 @@ GroupBanDataResponder::GroupBanDataResponder(const LLUUID& gropup_id, BOOL force
|
||||
mForceRefresh(force_refresh)
|
||||
{}
|
||||
|
||||
//void GroupBanDataResponder::httpFailure()
|
||||
void GroupBanDataResponder::error(U32 mStatus, const std::string& mContent)
|
||||
void GroupBanDataResponder::httpFailure()
|
||||
{
|
||||
LL_WARNS("GrpMgr") << "Error receiving group member data [status:"
|
||||
<< mStatus << "]: " << mContent << LL_ENDL;
|
||||
}
|
||||
|
||||
//void GroupBanDataResponder::httpSuccess()
|
||||
void GroupBanDataResponder::result(const LLSD& mContent)
|
||||
void GroupBanDataResponder::httpSuccess()
|
||||
{
|
||||
if (mContent.size())
|
||||
{
|
||||
@@ -2102,22 +2100,22 @@ class GroupMemberDataResponder : public LLHTTPClient::ResponderWithResult
|
||||
public:
|
||||
GroupMemberDataResponder() {}
|
||||
virtual ~GroupMemberDataResponder() {}
|
||||
/*virtual*/ void result(const LLSD& pContent);
|
||||
/*virtual*/ void error(U32 pStatus, const std::string& pReason);
|
||||
/*virtual*/ void httpSuccess(void);
|
||||
/*virtual*/ void httpFailure(void);
|
||||
/*virtual*/ AIHTTPTimeoutPolicy const& getHTTPTimeoutPolicy(void) const { return groupMemberDataResponder_timeout; }
|
||||
/*virtual*/ char const* getName(void) const { return "GroupMemberDataResponder"; }
|
||||
private:
|
||||
LLSD mMemberData;
|
||||
};
|
||||
|
||||
void GroupMemberDataResponder::error(U32 pStatus, const std::string& pReason)
|
||||
void GroupMemberDataResponder::httpFailure(void)
|
||||
{
|
||||
LL_WARNS("GrpMgr") << "Error receiving group member data." << LL_ENDL;
|
||||
}
|
||||
|
||||
void GroupMemberDataResponder::result(const LLSD& content)
|
||||
void GroupMemberDataResponder::httpSuccess(void)
|
||||
{
|
||||
LLGroupMgr::processCapGroupMembersRequest(content);
|
||||
LLGroupMgr::processCapGroupMembersRequest(mContent);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user