aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory/llinventory.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-07 23:35:25 -0600
committerJacek Antonelli2008-12-08 00:42:40 -0600
commit131cc1d821fafde3aa20bba66f387e092adf6f59 (patch)
tree7134419d9f3b14df386097d449a9925c6b78f3cb /linden/indra/llinventory/llinventory.h
parentNew enumerator for inventory types. (diff)
downloadmeta-impy-131cc1d821fafde3aa20bba66f387e092adf6f59.zip
meta-impy-131cc1d821fafde3aa20bba66f387e092adf6f59.tar.gz
meta-impy-131cc1d821fafde3aa20bba66f387e092adf6f59.tar.bz2
meta-impy-131cc1d821fafde3aa20bba66f387e092adf6f59.tar.xz
Added LLInventoryItem::mNInventoryType (new type) field.
Will always by NIT_NONE so far.
Diffstat (limited to 'linden/indra/llinventory/llinventory.h')
-rw-r--r--linden/indra/llinventory/llinventory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/llinventory/llinventory.h b/linden/indra/llinventory/llinventory.h
index d3cce6b..ac4e470 100644
--- a/linden/indra/llinventory/llinventory.h
+++ b/linden/indra/llinventory/llinventory.h
@@ -131,6 +131,7 @@ protected:
131 std::string mDescription; 131 std::string mDescription;
132 LLSaleInfo mSaleInfo; 132 LLSaleInfo mSaleInfo;
133 LLInventoryType::EType mInventoryType; 133 LLInventoryType::EType mInventoryType;
134 LLInventoryType::NType mNInventoryType;
134 U32 mFlags; 135 U32 mFlags;
135 time_t mCreationDate; // seconds from 1/1/1970, UTC 136 time_t mCreationDate; // seconds from 1/1/1970, UTC
136 137
@@ -236,6 +237,7 @@ public:
236 const std::string& getDescription() const; 237 const std::string& getDescription() const;
237 const LLSaleInfo& getSaleInfo() const; 238 const LLSaleInfo& getSaleInfo() const;
238 LLInventoryType::EType getInventoryType() const; 239 LLInventoryType::EType getInventoryType() const;
240 LLInventoryType::NType getNInventoryType() const;
239 U32 getFlags() const; 241 U32 getFlags() const;
240 time_t getCreationDate() const; 242 time_t getCreationDate() const;
241 U32 getCRC32() const; // really more of a checksum. 243 U32 getCRC32() const; // really more of a checksum.
@@ -247,6 +249,7 @@ public:
247 void setSaleInfo(const LLSaleInfo& sale_info); 249 void setSaleInfo(const LLSaleInfo& sale_info);
248 void setPermissions(const LLPermissions& perm); 250 void setPermissions(const LLPermissions& perm);
249 void setInventoryType(LLInventoryType::EType inv_type); 251 void setInventoryType(LLInventoryType::EType inv_type);
252 void setNInventoryType(LLInventoryType::NType inv_type);
250 void setFlags(U32 flags); 253 void setFlags(U32 flags);
251 void setCreationDate(time_t creation_date_utc); 254 void setCreationDate(time_t creation_date_utc);
252 255