summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterregioninfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterregioninfo.h')
-rwxr-xr-xindra/newview/llfloaterregioninfo.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.h b/indra/newview/llfloaterregioninfo.h
index f0499f1903..066a5c5da9 100755
--- a/indra/newview/llfloaterregioninfo.h
+++ b/indra/newview/llfloaterregioninfo.h
@@ -60,6 +60,8 @@ class LLPanelRegionDebugInfo;
class LLPanelRegionTerrainInfo;
class LLPanelEstateInfo;
class LLPanelEstateCovenant;
+class LLPanelExperienceListEditor;
+class LLPanelExperiences;
class LLEventTimer;
class LLEnvironmentSettings;
@@ -450,4 +452,38 @@ private:
LLComboBox* mDayCyclePresetCombo;
};
+class LLPanelRegionExperiences : public LLPanelRegionInfo
+{
+ LOG_CLASS(LLPanelEnvironmentInfo);
+
+public:
+ LLPanelRegionExperiences(){}
+ /*virtual*/ BOOL postBuild();
+ virtual BOOL sendUpdate();
+
+ static void infoCallback(LLHandle<LLPanelRegionExperiences> handle, const LLSD& content);
+ void listChanged();
+ bool refreshFromRegion(LLViewerRegion* region);
+ void sendPurchaseRequest()const;
+private:
+ static void ownedCallback(LLHandle<LLPanelRegionExperiences> handle, const LLSD& content);
+ void setOwnedExperiences(const LLSD& experiences);
+ void processResponse( const LLSD& content );
+ boost::signals2::connection processResponse( LLPanelExperienceListEditor* panel, boost::signals2::connection& connection, const LLSD& content);
+ void refreshRegionExperiences();
+
+ LLPanelExperienceListEditor* setupList(const char* control_name);
+ static LLSD addIds( LLPanelExperienceListEditor* panel );
+ bool FilterExisting(const LLSD& experience );
+
+
+ LLPanelExperiences* mOwned;
+ LLPanelExperienceListEditor* mTrusted;
+ boost::signals2::connection mTrustedConnection;
+ LLPanelExperienceListEditor* mAllowed;
+ boost::signals2::connection mAllowedConnection;
+ LLPanelExperienceListEditor* mBlocked;
+ boost::signals2::connection mBlockedConnection;
+};
+
#endif