summaryrefslogtreecommitdiff
path: root/indra/llinventory/llparcel.h
diff options
context:
space:
mode:
authorDave SIMmONs <simon@lindenlab.com>2011-05-24 10:44:27 -0700
committerDave SIMmONs <simon@lindenlab.com>2011-05-24 10:44:27 -0700
commit1a5b3b0a9091a72fd5e5fb395f7f0c97b0fd502c (patch)
treef1025d69463201fdd23d46fb490fc93d29837803 /indra/llinventory/llparcel.h
parenteaf293f62f06e37f914efaf1cd33ab63648699d4 (diff)
ER-914: Disable Parcel Privacy UI in viewer if on older sim
Diffstat (limited to 'indra/llinventory/llparcel.h')
-rw-r--r--indra/llinventory/llparcel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h
index 4d2236ec66..1b2f372888 100644
--- a/indra/llinventory/llparcel.h
+++ b/indra/llinventory/llparcel.h
@@ -272,6 +272,7 @@ public:
void setUserLookAt(const LLVector3& rot) { mUserLookAt = rot; }
void setLandingType(const ELandingType type) { mLandingType = type; }
void setPrivacy(bool privacy) { mPrivacy = privacy; }
+ void setHavePrivacyData(bool have_privacy_data) { mHavePrivacyData = have_privacy_data; } // Remove this once parcel privacy is fully available grid-wide
void setAuctionID(U32 auction_id) { mAuctionID = auction_id;}
@@ -375,7 +376,7 @@ public:
const LLVector3& getUserLookAt() const { return mUserLookAt; }
ELandingType getLandingType() const { return mLandingType; }
bool getPrivacy() const { return mPrivacy; }
-
+ bool getHavePrivacyData() const { return mHavePrivacyData; }
// User-specified snapshot
const LLUUID& getSnapshotID() const { return mSnapshotID; }
@@ -612,6 +613,7 @@ protected:
LLVector3 mUserLookAt;
ELandingType mLandingType;
bool mPrivacy;
+ bool mHavePrivacyData; // Remove once parcel privacy is grid-wide
LLTimer mSaleTimerExpires;
LLTimer mMediaResetTimer;