diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-04-05 16:13:02 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-04-05 16:13:02 -0400 |
commit | d13dac15505ca600caf7f780a11f9095661bc22f (patch) | |
tree | 5eb3fa2f5cefb0a199c0a03409c25e941fb4896a /indra/llinventory/llinventory.h | |
parent | 2eba9819df8c473137b0f45d5873794362b14562 (diff) |
EXT-6703 : LLInventory.h cleanup and create new LLInventoryDefines
Superficial header file cleanup.
Change made to simulator files as well.
Diffstat (limited to 'indra/llinventory/llinventory.h')
-rw-r--r-- | indra/llinventory/llinventory.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/llinventory/llinventory.h b/indra/llinventory/llinventory.h index d5a64ea441..b083e305b1 100644 --- a/indra/llinventory/llinventory.h +++ b/indra/llinventory/llinventory.h @@ -46,11 +46,10 @@ class LLMessageSystem; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// LLInventoryObject -// Base class for inventory objects that handles the common code between items -// and categories. The 'mParentUUID' member means the parent category since all -// inventory objects except each user's root category are in some category. Each -// user's root category will have mParentUUID==LLUUID::null. +// Class LLInventoryObject +// +// Base class for anything in the user's inventory. Handles the common code +// between items and categories. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class LLInventoryObject : public LLRefCount { @@ -113,15 +112,15 @@ public: //-------------------------------------------------------------------- protected: LLUUID mUUID; - LLUUID mParentUUID; + LLUUID mParentUUID; // Parent category. Root categories have LLUUID::NULL. LLAssetType::EType mType; std::string mName; }; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// LLInventoryItem -// An inventory item represents something that the current user has in -// his inventory. +// Class LLInventoryItem +// +// An item in the current user's inventory. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class LLInventoryItem : public LLInventoryObject { @@ -232,9 +231,9 @@ protected: //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Class LLInventoryCategory -// An instance of this class represents a category/folder of inventory -// items. Users come with a set of default categories, and can create -// new ones as needed. +// +// A category/folder of inventory items. Users come with a set of default +// categories, and can create new ones as needed. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class LLInventoryCategory : public LLInventoryObject { @@ -290,6 +289,7 @@ protected: //----------------------------------------------------------------------------- // Convertors +// // These functions convert between structured data and an inventory // item, appropriate for serialization. //----------------------------------------------------------------------------- |