diff options
Diffstat (limited to 'indra/newview/llfloaterregioninfo.h')
-rwxr-xr-x | indra/newview/llfloaterregioninfo.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.h b/indra/newview/llfloaterregioninfo.h index f0499f1903..ccd42f9764 100755 --- a/indra/newview/llfloaterregioninfo.h +++ b/indra/newview/llfloaterregioninfo.h @@ -60,6 +60,7 @@ class LLPanelRegionDebugInfo; class LLPanelRegionTerrainInfo; class LLPanelEstateInfo; class LLPanelEstateCovenant; +class LLPanelExperienceListEditor; class LLEventTimer; class LLEnvironmentSettings; @@ -450,4 +451,34 @@ 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); +private: + 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 ); + + LLPanelExperienceListEditor* mTrusted; + boost::signals2::connection mTrustedConnection; + LLPanelExperienceListEditor* mAllowed; + boost::signals2::connection mAllowedConnection; + LLPanelExperienceListEditor* mBlocked; + boost::signals2::connection mBlockedConnection; +}; + #endif |