summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterregioninfo.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-04 12:32:23 -0800
committerRider Linden <rider@lindenlab.com>2019-01-04 12:32:23 -0800
commit0969632b11383e83a53bce3a10379945be7ad8c2 (patch)
tree84ef914b6e3f89d0d1cb102d4bd405c5d21e58a1 /indra/newview/llfloaterregioninfo.h
parentd607d81dba25dfe7dd1ecdf123af656ca939924f (diff)
Move some estate requests into the LLEstateInfoModel and out of the Region floater.
Fix issue where user could potentially be looking at one set of estate options and update the estate they were standing in by mistake.
Diffstat (limited to 'indra/newview/llfloaterregioninfo.h')
-rw-r--r--indra/newview/llfloaterregioninfo.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/indra/newview/llfloaterregioninfo.h b/indra/newview/llfloaterregioninfo.h
index 0566c4b2ce..e4687fff0c 100644
--- a/indra/newview/llfloaterregioninfo.h
+++ b/indra/newview/llfloaterregioninfo.h
@@ -77,13 +77,9 @@ public:
/*virtual*/ void onOpen(const LLSD& key);
/*virtual*/ BOOL postBuild();
- static void processEstateOwnerRequest(LLMessageSystem* msg, void**);
-
// get and process region info if necessary.
static void processRegionInfo(LLMessageSystem* msg);
- static const LLUUID& getLastInvoice() { return sRequestInvoice; }
- static void nextInvoice() { sRequestInvoice.generate(); }
//static S32 getSerial() { return sRequestSerial; }
//static void incrementSerial() { sRequestSerial++; }
@@ -119,8 +115,7 @@ protected:
typedef std::vector<LLPanelRegionInfo*> info_panels_t;
info_panels_t mInfoPanels;
LLPanelRegionEnvironment *mEnvironmentPanel;
- //static S32 sRequestSerial; // serial # of last EstateOwnerRequest
- static LLUUID sRequestInvoice;
+
private:
boost::signals2::connection mRegionChangedCallback;
};
@@ -157,14 +152,6 @@ protected:
typedef std::vector<std::string> strings_t;
//typedef std::vector<U32> integers_t;
- void sendEstateOwnerMessage(
- LLMessageSystem* msg,
- const std::string& request,
- const LLUUID& invoice,
- const strings_t& strings);
-
- // member data
- LLHost mHost;
};
/////////////////////////////////////////////////////////////////////////////
@@ -266,12 +253,9 @@ private:
};
/////////////////////////////////////////////////////////////////////////////
-
class LLPanelEstateInfo : public LLPanelRegionInfo
{
public:
- static void initDispatch(LLDispatcher& dispatch);
-
void onChangeFixedSun();
void onChangeUseGlobalTime();
void onChangeAccessOverride();
@@ -331,6 +315,7 @@ public:
virtual void refresh();
void refreshFromEstate();
+ void refreshAccessFromEstate(U32 flags);
static bool isLindenEstate();
@@ -433,7 +418,7 @@ public:
void sendPurchaseRequest()const;
void processResponse( const LLSD& content );
private:
- void refreshRegionExperiences();
+ void refreshExperiencesFromEstate();
static std::string regionCapabilityQuery(LLViewerRegion* region, const std::string &cap);