summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterland.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-02-19 21:42:32 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-02-19 21:42:32 +0000
commit2e32d44e7165775936beae5d9ef636ff9d3f2bd2 (patch)
tree8153bc399994aabf6e1c41c2d8332e4e8c4ddb78 /indra/newview/llfloaterland.h
parentdb0f5847ea8b96b3c1ac08e7aeb43d83daacb8e4 (diff)
merge svn+ssh://svn.lindenlab.com/svn/linden/qa/combo-merge-ui-2008-02-13 -r 79986 : 80178 -> release.
QAR-290 = QAR-271 + QAR-191
Diffstat (limited to 'indra/newview/llfloaterland.h')
-rw-r--r--indra/newview/llfloaterland.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/indra/newview/llfloaterland.h b/indra/newview/llfloaterland.h
index e504e27f21..38d58fabfe 100644
--- a/indra/newview/llfloaterland.h
+++ b/indra/newview/llfloaterland.h
@@ -68,8 +68,9 @@ class LLPanelLandRenters;
class LLPanelLandCovenant;
class LLFloaterLand
-: public LLFloater, public LLUISingleton<LLFloaterLand>
+: public LLFloater, public LLUISingleton<LLFloaterLand, VisibilityPolicy<LLFloater> >
{
+ friend class LLUISingleton<LLFloaterLand, VisibilityPolicy<LLFloater> >;
public:
static void refreshAll();
@@ -82,7 +83,6 @@ public:
virtual BOOL postBuild();
protected:
- friend class LLUISingleton<LLFloaterLand>;
// Does its own instance management, so clients not allowed
// to allocate or destroy.
@@ -113,7 +113,7 @@ protected:
LLPanelLandAccess* mPanelAccess;
LLPanelLandCovenant* mPanelCovenant;
- LLHandle<LLParcelSelection> mParcel;
+ LLSafeHandle<LLParcelSelection> mParcel;
public:
// When closing the dialog, we want to deselect the land. But when
@@ -128,7 +128,7 @@ class LLPanelLandGeneral
: public LLPanel
{
public:
- LLPanelLandGeneral(LLHandle<LLParcelSelection>& parcelp);
+ LLPanelLandGeneral(LLSafeHandle<LLParcelSelection>& parcelp);
virtual ~LLPanelLandGeneral();
void refresh();
void refreshNames();
@@ -220,16 +220,16 @@ protected:
LLButton* mBtnBuyPass;
LLButton* mBtnStartAuction;
- LLHandle<LLParcelSelection>& mParcel;
+ LLSafeHandle<LLParcelSelection>& mParcel;
- static LLViewHandle sBuyPassDialogHandle;
+ static LLHandle<LLFloater> sBuyPassDialogHandle;
};
class LLPanelLandObjects
: public LLPanel
{
public:
- LLPanelLandObjects(LLHandle<LLParcelSelection>& parcelp);
+ LLPanelLandObjects(LLSafeHandle<LLParcelSelection>& parcelp);
virtual ~LLPanelLandObjects();
void refresh();
virtual void draw();
@@ -292,7 +292,7 @@ protected:
S32 mSelectedCount;
BOOL mSelectedIsGroup;
- LLHandle<LLParcelSelection>& mParcel;
+ LLSafeHandle<LLParcelSelection>& mParcel;
};
@@ -300,7 +300,7 @@ class LLPanelLandOptions
: public LLPanel
{
public:
- LLPanelLandOptions(LLHandle<LLParcelSelection>& parcelp);
+ LLPanelLandOptions(LLSafeHandle<LLParcelSelection>& parcelp);
virtual ~LLPanelLandOptions();
void refresh();
@@ -339,7 +339,7 @@ protected:
LLCheckBoxCtrl *mPushRestrictionCtrl;
LLButton *mPublishHelpButton;
- LLHandle<LLParcelSelection>& mParcel;
+ LLSafeHandle<LLParcelSelection>& mParcel;
};
@@ -347,7 +347,7 @@ class LLPanelLandAccess
: public LLPanel
{
public:
- LLPanelLandAccess(LLHandle<LLParcelSelection>& parcelp);
+ LLPanelLandAccess(LLSafeHandle<LLParcelSelection>& parcelp);
virtual ~LLPanelLandAccess();
void refresh();
void refresh_ui();
@@ -369,7 +369,7 @@ protected:
LLNameListCtrl* mListAccess;
LLNameListCtrl* mListBanned;
- LLHandle<LLParcelSelection>& mParcel;
+ LLSafeHandle<LLParcelSelection>& mParcel;
};
@@ -377,7 +377,7 @@ class LLPanelLandCovenant
: public LLPanel
{
public:
- LLPanelLandCovenant(LLHandle<LLParcelSelection>& parcelp);
+ LLPanelLandCovenant(LLSafeHandle<LLParcelSelection>& parcelp);
virtual ~LLPanelLandCovenant();
virtual BOOL postBuild();
void refresh();
@@ -387,7 +387,7 @@ public:
static void updateEstateOwnerName(const std::string& name);
protected:
- LLHandle<LLParcelSelection>& mParcel;
+ LLSafeHandle<LLParcelSelection>& mParcel;
};
#endif