diff options
Diffstat (limited to 'linden/indra/newview/llfloaterregioninfo.h')
-rw-r--r-- | linden/indra/newview/llfloaterregioninfo.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linden/indra/newview/llfloaterregioninfo.h b/linden/indra/newview/llfloaterregioninfo.h index 22e4853..8918430 100644 --- a/linden/indra/newview/llfloaterregioninfo.h +++ b/linden/indra/newview/llfloaterregioninfo.h | |||
@@ -13,12 +13,12 @@ | |||
13 | * ("GPL"), unless you have obtained a separate licensing agreement | 13 | * ("GPL"), unless you have obtained a separate licensing agreement |
14 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 14 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
16 | * online at http://secondlife.com/developers/opensource/gplv2 | 16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
17 | * | 17 | * |
18 | * There are special exceptions to the terms and conditions of the GPL as | 18 | * There are special exceptions to the terms and conditions of the GPL as |
19 | * it is applied to this Source Code. View the full text of the exception | 19 | * it is applied to this Source Code. View the full text of the exception |
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 20 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
21 | * online at http://secondlife.com/developers/opensource/flossexception | 21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
22 | * | 22 | * |
23 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -58,14 +58,15 @@ class LLPanelRegionTerrainInfo; | |||
58 | class LLPanelEstateInfo; | 58 | class LLPanelEstateInfo; |
59 | class LLPanelEstateCovenant; | 59 | class LLPanelEstateCovenant; |
60 | 60 | ||
61 | class LLFloaterRegionInfo : public LLFloater | 61 | class LLFloaterRegionInfo : public LLFloater, public LLUISingleton<LLFloaterRegionInfo> |
62 | { | 62 | { |
63 | friend class LLUISingleton<LLFloaterRegionInfo>; | ||
63 | public: | 64 | public: |
64 | ~LLFloaterRegionInfo(); | 65 | ~LLFloaterRegionInfo(); |
65 | 66 | ||
66 | static void show(LLViewerRegion* region); | 67 | /*virtual*/ void onOpen(); |
67 | static void show(void*); | 68 | /*virtual*/ BOOL postBuild(); |
68 | static LLFloaterRegionInfo* getInstance(); | 69 | |
69 | static void processEstateOwnerRequest(LLMessageSystem* msg, void**); | 70 | static void processEstateOwnerRequest(LLMessageSystem* msg, void**); |
70 | 71 | ||
71 | // get and process region info if necessary. | 72 | // get and process region info if necessary. |
@@ -82,15 +83,14 @@ public: | |||
82 | // from LLPanel | 83 | // from LLPanel |
83 | virtual void refresh(); | 84 | virtual void refresh(); |
84 | 85 | ||
86 | void requestRegionInfo(); | ||
87 | |||
85 | protected: | 88 | protected: |
86 | LLFloaterRegionInfo(const LLRect& rect); | 89 | LLFloaterRegionInfo(const LLSD& seed); |
87 | void refreshFromRegion(LLViewerRegion* region); | 90 | void refreshFromRegion(LLViewerRegion* region); |
88 | 91 | ||
89 | // static data | ||
90 | static LLFloaterRegionInfo* sInstance; | ||
91 | |||
92 | // member data | 92 | // member data |
93 | LLTabContainer* mTab; | 93 | LLTabContainerCommon* mTab; |
94 | typedef std::vector<LLPanelRegionInfo*> info_panels_t; | 94 | typedef std::vector<LLPanelRegionInfo*> info_panels_t; |
95 | info_panels_t mInfoPanels; | 95 | info_panels_t mInfoPanels; |
96 | //static S32 sRequestSerial; // serial # of last EstateOwnerRequest | 96 | //static S32 sRequestSerial; // serial # of last EstateOwnerRequest |